Skip to content

Commit

Permalink
ci: run tests with cargo-nextest
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
  • Loading branch information
simonsan committed Mar 23, 2024
1 parent 2bd36ed commit e82c0db
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Install cargo-nextest
uses: taiki-e/install-action@v2
with:
tool: cargo-nextest

- name: Install Rust ${{ matrix.toolchain }}
uses: dtolnay/rust-toolchain@v1
Expand All @@ -117,7 +122,7 @@ jobs:
- name: Run Cargo Test
id: run_tests
# run: cargo test --all-targets --features ${{ matrix.feature }} --workspace
run: cargo test --all-targets --workspace -- --include-ignored
run: cargo nextest run --all-features --workspace -- --include-ignored
env:
INSTA_UPDATE: new
- name: Upload snapshots of failed tests
Expand Down

0 comments on commit e82c0db

Please sign in to comment.