Skip to content

Commit

Permalink
Upload artifacts after successfully rerunning tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle authored and ensonic committed Feb 3, 2024
1 parent e72f35c commit c4ac96c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ jobs:
make -k check
- name: Rerun failed tests under gdb and get backtraces
id: rerun_tests
if: always() && steps.check.outcome == 'failure'
run: |
cat ./bt_edit.log ./test-suite.log
scripts/gdbtests.sh ./test-suite.log
- uses: actions/upload-artifact@v4
if: always() && steps.check.outcome == 'failure' && steps.rerun_tests.outcome == 'success'
with:
path: |
test-suite.log
Expand Down

0 comments on commit c4ac96c

Please sign in to comment.