Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[profile.default]
# Enable automatic retries for flaky tests with exponential backoff.
retries = { attempts = 2, backoff = "exponential" }

8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,14 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack
- uses: taiki-e/install-action@v2
with:
tool: cargo-nextest
- name: Tests
run: cargo hack test --feature-powerset --depth 2 --clean-per-run --partition ${{ matrix.partition }}
run: cargo hack nextest run --feature-powerset --depth 2 --clean-per-run --partition ${{ matrix.partition }}
- name: Doc tests
if: matrix.toolchain == 'stable' && matrix.partition == '1/4'
run: cargo test --doc --workspace --all-features

fmt:
name: Rustfmt check
Expand Down
Loading