Skip to content

Commit

Permalink
Upload GitHub workflow artifacts even when the test fails.
Browse files Browse the repository at this point in the history
When a test in `.github/workflows/ci.yml`'s `gpu-test` fails,
ensure that it uploads the artifacts anyway. These are screenshots and
comparison images, so they're valuable in debugging the failure.
  • Loading branch information
jimblandy committed Aug 29, 2023
1 parent 6c274a9 commit 7f6683a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ jobs:
done
- uses: actions/upload-artifact@v3
if: always() # We want artifacts even if the tests fail.
with:
name: comparison-images
path: |
Expand Down

0 comments on commit 7f6683a

Please sign in to comment.