mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 16:24:24 +00:00
[ci] check for untracked naga snapshots (#5792)
This commit is contained in:
parent
00f5c57b86
commit
be4eabc71b
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user