-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: set up nextest profile and
dev-ci
Cargo profile
- Added a "dev-ci" profile in `Cargo.toml` file, - Introduced a new `nextest.toml` configuration file to manage test behaviors in the CI environment.
- Loading branch information
1 parent
45510e4
commit 3be7fc8
Showing
2 changed files
with
20 additions
and
0 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,12 @@ | ||
[profile.ci] | ||
# Print out output for failing tests as soon as they fail, and also at the end | ||
# of the run (for easy scrollability). | ||
failure-output = "immediate-final" | ||
# Show skipped tests in the CI output. | ||
status-level = "skip" | ||
# Do not cancel the test run on the first failure. | ||
fail-fast = false | ||
# Mark tests as slow after 5mins, kill them after 20mins | ||
slow-timeout = { period = "300s", terminate-after = 4 } | ||
# Retry failed tests once, marked flaky if test then passes | ||
retries = 1 |
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