Skip to content

Commit 2d763ab

Browse files
committed
fix: do not test benchmarks
1 parent ecc9edd commit 2d763ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/ci/src/commands/test.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ impl Prepare for TestCommand {
1717
vec![PreparedCommand::new::<Self>(
1818
cmd!(
1919
sh,
20-
"cargo test --workspace --lib --bins --tests --benches {no_fail_fast}"
20+
// Test most targets except for doc-tests, examples, and benchmarks. This is based
21+
// of of the list at <https://doc.rust-lang.org/cargo/commands/cargo-test.html#target-selection>.
22+
"cargo test --workspace --lib --bins --tests {no_fail_fast}"
2123
),
2224
"Please fix failing tests in output above.",
2325
)]

0 commit comments

Comments
 (0)