Skip to content

Commit

Permalink
Add test output artifact when spack CI fails
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Sep 25, 2023
1 parent 8121912 commit 5a68440
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/Spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ jobs:
# Run 'spack load' to check for obvious errors in setup_run_environment
spack load g2
- name: Upload test results
uses: actions/upload-artifact@v3
if: ${{ failure() }}
with:
name: test-output
path: /home/runner/work/NCEPLIBS-g2/NCEPLIBS-g2/g2/spack-build-*/Testing/Temporary/LastTest.log


# This job validates the Spack recipe by making sure each cmake build option is represented
recipe-check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5a68440

Please sign in to comment.