Skip to content

Commit

Permalink
Reapply "chore(ci): make more use of nextest"
Browse files Browse the repository at this point in the history
This reverts commit ba4eb87.
  • Loading branch information
rholshausen committed Dec 20, 2024
1 parent 823b009 commit c590922
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches:
- master

#concurrency:
# group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
# cancel-in-progress: false

env:
RUST_BACKTRACE: "1"
RUST_LOG: "debug"
Expand All @@ -28,14 +32,17 @@ 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
- 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
- name: Clippy
if: runner.os == 'Linux'
Expand All @@ -48,10 +55,22 @@ jobs:
image: pactfoundation/rust-musl-build
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy
- uses: taiki-e/install-action@v2
with:
tool: cargo-nextest
- uses: Swatinem/rust-cache@v2
with:
workspaces: rust
shared-key: ${{ runner.os }}-musl
- name: Tests
run: cargo test
run: cargo nextest run
working-directory: rust


check-features:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit c590922

Please sign in to comment.