From 42b0d27d4dde0dbbc3eba975c1b594f7e4324036 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Wed, 16 Oct 2024 11:52:14 +0200 Subject: [PATCH] GA: run tests with nextest --- .github/workflows/build.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7afb0bc..09ec2c7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,12 +20,14 @@ jobs: with: toolchain: ${{matrix.toolchain}} - uses: Swatinem/rust-cache@v2 + - name: Install cargo-nextest + run: cargo install cargo-nextest - name: Test without default features - run: cargo test -r --no-default-features --workspace + run: cargo nextest run -r --no-default-features --workspace - name: Test with default features - run: cargo test -r --workspace + run: cargo nextest run -r --workspace - name: Test with all features - run: cargo test -r --all-features --workspace + run: cargo nextest run -r --all-features --workspace build-cross: needs: test