Skip to content

Commit

Permalink
Try before and after summaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Nov 6, 2024
1 parent d61f016 commit 4d28f77
Showing 1 changed file with 65 additions and 2 deletions.
67 changes: 65 additions & 2 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Summary 1
run: |
ls
df -H
- name: Format Files
shell: bash
run: |
Expand All @@ -34,6 +40,11 @@ jobs:
path: resources/options_lookup.tsv
name: options_lookup

- name: Summary 2
run: |
ls
df -H
unit-tests:
runs-on: ubuntu-22.04
needs: [format-files]
Expand All @@ -44,6 +55,11 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Summary 1
run: |
ls
df -H
- name: Install gems
run: |
rm -f Gemfile.lock && bundle install
Expand Down Expand Up @@ -78,6 +94,11 @@ jobs:
path: coverage
name: coverage

- name: Summary 2
run: |
ls
df -H
analysis-tests:
runs-on: ubuntu-22.04
needs: [unit-tests]
Expand All @@ -88,8 +109,10 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Setup upterm session
uses: lhotari/action-upterm@v1
- name: Summary 1
run: |
ls
df -H
- name: Install gems
run: |
Expand Down Expand Up @@ -137,6 +160,11 @@ jobs:
project_testing/results-PackageUpgrade.csv
name: run_analysis_results_csvs

- name: Summary 2
run: |
ls
df -H
integration-tests:
runs-on: ubuntu-22.04
needs: [unit-tests]
Expand All @@ -149,6 +177,11 @@ jobs:
with:
python-version: '3.11'

- name: Summary 1
run: |
ls
df -H
- name: Download and Install OpenStudio
run: |
export OS_DEBFILE="OpenStudio-$OPENSTUDIO_VER+$OPENSTUDIO_SHA-$OPENSTUDIO_PLATFORM.$OPENSTUDIO_EXT"
Expand Down Expand Up @@ -225,6 +258,11 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Summary 1
run: |
ls
df -H
- name: Download buildstockbatch results
uses: actions/download-artifact@v4
with:
Expand All @@ -244,6 +282,11 @@ jobs:
sudo gem install simplecov-html
ruby test/test_analysis_tools.rb
- name: Summary 2
run: |
ls
df -H
compare-results:
if: github.event_name == 'pull_request'
runs-on: ubuntu-22.04
Expand All @@ -253,6 +296,11 @@ jobs:
with:
ref: ${{ github.event.pull_request.base.sha }}

- name: Summary 1
run: |
ls
df -H
- name: Upload base results
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -314,6 +362,11 @@ jobs:
path: test/base_results/comparisons
name: comparisons

- name: Summary 2
run: |
ls
df -H
update-results:
runs-on: ubuntu-22.04
needs: [analysis-tests, integration-tests]
Expand All @@ -322,6 +375,11 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Summary 1
run: |
ls
df -H
- name: Install software
run: |
export DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -389,3 +447,8 @@ jobs:
echo "Pushing to branch: $branch_name"
git push -u origin $branch_name
fi
- name: Summary 2
run: |
ls
df -H

0 comments on commit 4d28f77

Please sign in to comment.