diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 375c3307e..4b09ee466 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -157,6 +157,7 @@ jobs: for crate in "${crates[@]}"; do cargo clippy --locked --package "$crate" \ --no-default-features \ + --all-targets \ --profile ci \ --no-deps \ --config "$RUST_CONFIG" \ diff --git a/diskann-benchmark-core/src/lib.rs b/diskann-benchmark-core/src/lib.rs index fbf5d44d6..920a7fe20 100644 --- a/diskann-benchmark-core/src/lib.rs +++ b/diskann-benchmark-core/src/lib.rs @@ -60,10 +60,10 @@ pub mod streaming; /// If error message change, the expected results can generally be regenerated by running /// the test suite with the environment variable /// ```text -/// DISKANN_BENCHMARK_TEST=true +/// DISKANN_BENCHMARK_TEST=overwrite /// ``` /// set. -#[cfg(test)] +#[cfg(all(test, feature = "bigann"))] mod ux { const ENV_VAR: &str = "DISKANN_BENCHMARK_TEST";