Skip to content

Commit

Permalink
chore: make more use of nextest
Browse files Browse the repository at this point in the history
Nextest is typically faster to run

Signed-off-by: JP-Ellis <[email protected]>
  • Loading branch information
JP-Ellis committed Dec 11, 2024
1 parent 0ec469f commit 99969cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99969cb

Please sign in to comment.