Fix: CI bench-check
command (#7077)
# Objective I noticed that running the following command didn't actually do anything: ``` cargo run -p ci -- bench-check ``` ## Solution Made it so that running `cargo run -p ci -- bench-check` actually runs a compile check on the `benches` directory.
This commit is contained in:
parent
b44b606d29
commit
f866d72f15
@ -133,7 +133,7 @@ fn main() {
|
||||
.expect("Please fix doc warnings in output above.");
|
||||
}
|
||||
|
||||
if what_to_run.contains(Check::COMPILE_FAIL) {
|
||||
if what_to_run.contains(Check::BENCH_CHECK) {
|
||||
let _subdir = sh.push_dir("benches");
|
||||
// Check that benches are building
|
||||
cmd!(sh, "cargo check --benches --target-dir ../target")
|
||||
|
Loading…
Reference in New Issue
Block a user