ci: run deep EXR regressions independently

This commit is contained in:
jonathanwxh-cell committed 2026-10-15 10:07:50 +08:00
1 parent 61a4baf57b
commit 5aa4869b45
1 file changed
+22
+22
View File
@@ -157,6 +157,28 @@ jobs:
if: runner.os == 'Linux'
run: cargo xtask scorecard --check
# Keep deep EXR regressions runnable when an unrelated workspace test fails.
deep-exr:
name: deep EXR regressions
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
shared-key: test
save-if: false
- name: Deep EXR allocation unit tests
run: cargo test -p photocraft-codecs --locked --lib 'codecs::deep_exr::tests::'
- name: Deep EXR synthetic integration tests
run: cargo test -p photocraft-codecs --locked --test deep_exr
corpus:
# Real-file corpus tests (cargo feature `corpus`), on every PR and on main. The corpora are
# pinned in xtask/src/corpus_pins.rs and sha256-verified (xtask/*.sha256) after both a cache