From 99969cb1d5ed3bdd5a7c1aa5123f2ccd505b89ad Mon Sep 17 00:00:00 2001 From: JP-Ellis Date: Wed, 11 Dec 2024 19:47:04 +1100 Subject: [PATCH] chore: make more use of nextest Nextest is typically faster to run Signed-off-by: JP-Ellis --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48e982e0..5d09b94f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,24 +28,24 @@ jobs: with: toolchain: stable components: clippy + - uses: taiki-e/install-action@v2 + with: + tool: cargo-nextest - name: Install shared mime info DB if: runner.os == 'macOS' run: brew install shared-mime-info - name: Tests - run: cargo test + run: cargo nextest run working-directory: rust env: RUST_LOG: debug RUST_BACKTRACE: 1 - name: Run mock_server_logs test - run: cargo test -p pact_ffi returns_mock_server_logs -- --nocapture --include-ignored + run: cargo nextest run -p pact_ffi returns_mock_server_logs -- --include-ignored working-directory: rust env: RUST_LOG: debug RUST_BACKTRACE: 1 - - name: Build Components - run: cargo build - working-directory: rust - name: Clippy if: runner.os == 'Linux' run: cargo clippy