This repository has been archived by the owner on Nov 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic test for
coverage
example and library (#3035)
The coverage code is not currently exercised by any test. * Add a test to the `coverage` example so that it can run in PR builds. * Specify `--all-targets` so that example tests are run. * Install and use [`nextest`](https://nexte.st/) instead of the standard test runner. * This will parallelize test runs across binaries so the overall test run is faster. * Make sleep duration of agent configurable and reduce it in the test run so that it doesn't wait for 30 seconds.
- Loading branch information
Showing
7 changed files
with
35 additions
and
17 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
set -ex | ||
|
||
cargo install sccache [email protected] cargo-llvm-cov cargo-deny cargo-insta | ||
cargo install sccache [email protected] cargo-llvm-cov cargo-deny cargo-insta cargo-nextest | ||
|
||
# sccache --start-server | ||
# export RUSTC_WRAPPER=$(which sccache) |