ci: lint and test clawhdf5-ann with its parallel feature
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
42c3872ec9
commit
8803d0754b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user