From 5aa4869b45ffd8e89cdd3f02c9aa71d64e217929 Mon Sep 17 00:00:00 2001 From: jonathanwxh-cell Date: Thu, 15 Oct 2026 10:07:50 +0800 Subject: [PATCH] ci: run deep EXR regressions independently --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bec29abaf5..cfd7ea1a66 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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