Skip to content

Commit

Permalink
[ci] check for untracked naga snapshots (#5792)
Browse files Browse the repository at this point in the history
  • Loading branch information
teoxoy authored Jun 11, 2024
1 parent 00f5c57 commit be4eabc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,8 @@ jobs:
cargo xtask test --llvm-cov
- name: check naga snapshots
run: git diff --exit-code -- naga/tests/out
# git diff doesn't check untracked files, we need to stage those then compare with HEAD.
run: git add . && git diff --exit-code HEAD naga/tests/out

- uses: actions/upload-artifact@v4
if: always() # We want artifacts even if the tests fail.
Expand Down

0 comments on commit be4eabc

Please sign in to comment.