Skip to content
Merged
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
6 changes: 6 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# CI runs `cargo nextest run --profile ci`.
[profile.ci]
# Retry a failing test once. A test that passes on the retry shows as FLAKY
# in the output and doesn't fail the run.
retries = 1
fail-fast = false
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
- "crates/tauri-test-macros/**"
- "Cargo.toml"
- "Cargo.lock"
- ".config/nextest.toml"
- ".github/workflows/ci.yml"
js:
- "*.{js,ts,mjs,cjs,mts,cts}"
Expand Down Expand Up @@ -443,4 +444,4 @@ jobs:
working-directory: src-tauri
env:
RUST_BACKTRACE: 1
run: cargo nextest run --locked --no-fail-fast
run: cargo nextest run --locked --profile ci
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ jobs:
working-directory: src-tauri
env:
RUST_BACKTRACE: 1
run: cargo nextest run --locked --no-fail-fast
run: cargo nextest run --locked --profile ci

windows-js-unit:
needs: check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/warm-caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,4 @@ jobs:
working-directory: src-tauri
env:
RUST_BACKTRACE: 1
run: cargo nextest run --locked --no-fail-fast
run: cargo nextest run --locked --profile ci
Loading