Skip to content

Commit

Permalink
Make GitHub Actions upload the test log as an artifact (#357)
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Pipping <[email protected]>
  • Loading branch information
hartwork authored Dec 18, 2024
1 parent 716f14f commit ae8e517
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/run_test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,10 @@ jobs:
| grep -F ' failed, ' | tee /dev/stderr \
| grep -F -q ', 1 failed, ' \
|| { echo 'Number of tests expected to fail^^ does not match -- did you break an existing test?' >&2 ; false ; }
- name: Upload test log as an artifact
uses: actions/upload-artifact@v4
with:
name: "lcov-${{ github.sha }}-${{ runner.os }}-test-log" # .zip
path: tests/test.log
if-no-files-found: error

0 comments on commit ae8e517

Please sign in to comment.