From bcf2cefd4b2a215167f443933c25368e702b31a2 Mon Sep 17 00:00:00 2001 From: skylartaylor <26588250+skylartaylor@users.noreply.github.com> Date: Thu, 15 Oct 2026 19:56:43 +0200 Subject: [PATCH] ci: preserve nextest failures on Windows --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 192a13d8b94..35ba5ea9a9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,10 +139,12 @@ jobs: # `--features heif`: official builds open HEIC photos via the optional photocraft-heif crate. # nextest doesn't run doctests, so `cargo test --doc` does, with the same selection. + # Separate native commands into steps so Windows reports either command's failure. - name: Test - run: | - cargo nextest run --workspace --locked --features heif --profile ci - cargo test --doc --workspace --locked --features heif + run: cargo nextest run --workspace --locked --features heif --profile ci + + - name: Doctests + run: cargo test --doc --workspace --locked --features heif # The same codecs without the optional decoder: HEIC must stay a clear "not in this build" # error for distributors who leave it out.