-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Use nextest cargo test runner in CI
Supports retries for flaky failures. Use 3 retries. Also limit the db test to run in a separate process, so that diesel_migration harness doesn't fail with an I/O error.
- Loading branch information
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[profile.ci] | ||
# Don't fail fast in CI to run the full test suite. | ||
fail-fast = false | ||
failure-output = "immediate-final" | ||
retries = 3 | ||
|
||
[test-groups] | ||
serial-integration = { max-threads = 1 } | ||
|
||
[[profile.default.overrides]] | ||
filter = 'test(db::logic::tests::test_do_ops_with_db)' | ||
test-group = 'serial-integration' | ||
|
||
[[profile.ci.overrides]] | ||
filter = 'test(db::logic::tests::test_do_ops_with_db)' | ||
test-group = 'serial-integration' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters