Skip to content

Commit

Permalink
Add path errors during artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
afontani committed Jan 7, 2025
1 parent b5aa203 commit 037a9df
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: resources
name: options_lookup
name: options_lookup

- name: Generate precomputed buildstocks
run: |
Expand All @@ -121,18 +121,20 @@ jobs:
- name: Upload precomputed buildstocks
uses: actions/upload-artifact@v4
with:
path: test/tests_yml_files/yml_precomputed*/buildstock*.csv
name: precomputed_buildstocks
path: test/tests_yml_files/yml_precomputed*/buildstock*.csv
if-no-files-found: error

- name: Upload run_analysis.rb results
uses: actions/upload-artifact@v4
with:
name: run_analysis_results_csvs
path: |
project_national/results-Baseline.csv
project_testing/results-Baseline.csv
project_national/results-EnvelopeOnlyLightTouchEnvelope.csv
name: run_analysis_results_csvs

if-no-files-found: error
integration-tests:
runs-on: ubuntu-22.04
needs: [unit-tests]
Expand Down Expand Up @@ -185,19 +187,21 @@ jobs:
- name: Upload integration results
uses: actions/upload-artifact@v4
with:
name: feature_results
path: |
baseline
upgrades
name: feature_results
if-no-files-found: error

- name: Upload buildstockbatch results
uses: actions/upload-artifact@v4
with:
name: buildstockbatch_results_csvs
path: |
project_national/national_baseline/results_csvs/results_up00.csv
project_testing/testing_baseline/results_csvs/results_up00.csv
project_national/sdr_upgrades_tmy3/results_csvs/results_up02.csv
name: buildstockbatch_results_csvs
if-no-files-found: error
- name: Run tests
run: |
Expand Down Expand Up @@ -245,8 +249,10 @@ jobs:
- name: Upload base results
uses: actions/upload-artifact@v4
with:
path: test/base_results
name: base_results
path: test/base_results
if-no-files-found: error


- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -300,8 +306,9 @@ jobs:
- name: Upload comparisons
uses: actions/upload-artifact@v4
with:
name: comparisons
path: test/base_results/comparisons
name: comparisons
if-no-files-found: error

update-results:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -355,6 +362,7 @@ jobs:
with:
name: documentation
path: docs/read_the_docs/_build/html/
if-no-files-found: error

- name: Commit latest results
shell: bash
Expand Down

0 comments on commit 037a9df

Please sign in to comment.