Skip to content

Commit 40582e5

Browse files
committed
cargo-rail: fixed nextest issue
1 parent 8911df5 commit 40582e5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tests/integration/helpers.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,24 @@ use_all_features = true
6161
"#,
6262
)?;
6363

64+
// Create .config/nextest.toml with commit profile for CI compatibility
65+
std::fs::write(
66+
path.join(".config/nextest.toml"),
67+
r#"[profile.default]
68+
status-level = "pass"
69+
success-output = "never"
70+
failure-output = "immediate"
71+
fail-fast = false
72+
73+
[profile.commit]
74+
status-level = "fail"
75+
success-output = "never"
76+
failure-output = "immediate-final"
77+
fail-fast = false
78+
retries = { backoff = "exponential", count = 2, delay = "1s", jitter = true }
79+
"#,
80+
)?;
81+
6482
git(&path, &["add", "."])?;
6583
git(&path, &["commit", "-m", "Initial workspace setup"])?;
6684

0 commit comments

Comments
 (0)