Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage summary on actions #1320

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Summary
run: |
df -h

- name: Format Files
shell: bash
run: |
Expand Down Expand Up @@ -134,6 +139,10 @@ jobs:
project_testing/results-PackageUpgrade.csv
name: run_analysis_results_csvs

- name: Summary
run: |
df -h

integration-tests:
runs-on: ubuntu-22.04
needs: [unit-tests]
Expand Down Expand Up @@ -169,6 +178,11 @@ jobs:

buildstock_local project_national/national_upgrades.yml
buildstock_local project_testing/testing_upgrades.yml

du -sh project_national/national_baseline
du -sh project_testing/testing_baseline
du -sh project_national/national_upgrades
du -sh project_testing/testing_upgrades

- name: Unzip results
run: |
Expand Down Expand Up @@ -214,6 +228,10 @@ jobs:
sudo gem install simplecov-html
ruby test/test_bsb_analysis.rb

- name: Summary
run: |
df -h

compare-tools:
runs-on: ubuntu-22.04
needs: [analysis-tests, integration-tests]
Expand Down
4 changes: 4 additions & 0 deletions test/test_run_analysis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ def test_testing_baseline
@command += ' -k'

system(@command)
system('du -sh testing_baseline')

cli_output_log = File.join(@testing_baseline, 'cli_output.log')
assert(File.exist?(cli_output_log))
Expand Down Expand Up @@ -312,6 +313,7 @@ def test_national_baseline
@command += ' -k'

system(@command)
system('du -sh national_baseline')

cli_output_log = File.join(@national_baseline, 'cli_output.log')
assert(File.exist?(cli_output_log))
Expand Down Expand Up @@ -347,6 +349,7 @@ def test_testing_upgrades
@command += ' -k'

system(@command)
system('du -sh testing_upgrades')

cli_output_log = File.join(@testing_upgrades, 'cli_output.log')
assert(File.exist?(cli_output_log))
Expand Down Expand Up @@ -402,6 +405,7 @@ def test_national_upgrades
@command += ' -k'

system(@command)
system('du -sh national_upgrades')

cli_output_log = File.join(@national_upgrades, 'cli_output.log')
assert(File.exist?(cli_output_log))
Expand Down