From 60c7ce4e9571230452196ce2e8488d71fa2b1961 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Mon, 8 Sep 2025 11:53:47 -0700 Subject: [PATCH] chore: try switching to `cargo nextest` --- .github/workflows/rust-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 875441c536..b6d589e761 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -160,12 +160,16 @@ jobs: find . -name Cargo.toml -mindepth 2 -maxdepth 2 -print0 \ | xargs -0 -n1 -I{} bash -c 'cd "$(dirname "{}")" && cargo check --profile ${{ matrix.profile }}' + - uses: taiki-e/install-action@v2 + with: + tool: nextest + - name: cargo test id: test # `cargo test` takes too long for release builds to run them on every PR if: ${{ matrix.profile != 'release' }} continue-on-error: true - run: cargo test --all-features --target ${{ matrix.target }} --profile ${{ matrix.profile }} + run: cargo nextest run --all-features --target ${{ matrix.target }} --profile ${{ matrix.profile }} env: RUST_BACKTRACE: 1