From 8803d0754b7e352ca9b5584740e497e52aeffb27 Mon Sep 17 00:00:00 2001 From: osobh Date: Sat, 19 Sep 2026 13:44:18 -0700 Subject: [PATCH] ci: lint and test clawhdf5-ann with its parallel feature Co-Authored-By: Claude Fable 5.1 --- scripts/ci-test.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/ci-test.sh b/scripts/ci-test.sh index aa7146d..03367a0 100755 --- a/scripts/ci-test.sh +++ b/scripts/ci-test.sh @@ -63,6 +63,13 @@ run_step "cargo clippy (format feature matrix)" cargo clippy \ --features parallel,lz4,zstd,pcodec,fast-checksum \ -- -D warnings +# The HNSW index's parallel bulk build is feature-gated too. +run_step "cargo clippy (ann parallel)" cargo clippy \ + -p clawhdf5-ann \ + --all-targets \ + --features parallel \ + -- -D warnings + # 4. Tests (exclude clawhdf5-py) run_step "cargo test" cargo test \ --workspace \ @@ -72,6 +79,10 @@ run_step "cargo test (format feature matrix)" cargo test \ -p clawhdf5-format \ --features parallel,lz4,zstd,pcodec,fast-checksum +run_step "cargo test (ann parallel)" cargo test \ + -p clawhdf5-ann \ + --features parallel + # 5. Python interop suites. The h5py writer tests are #[ignore]d so a plain # `cargo test` stays hermetic; run them explicitly here. if python3 -c "import h5py" >/dev/null 2>&1 || [ "${CLAWHDF5_REQUIRE_INTEROP:-0}" = "1" ]; then