Skip to content

Commit cbc4cf6

Browse files
committed
ci: run every extension-backed test in the wheel job
The wheel job invoked one test file by name, so the value round-trip tests ran in no job at all: the main test job skips them for want of a built extension, and this one never asked for them. A regression in the conversion layer could merge with the coverage nominally in place. Both files are named now, and the job's existing no-skips assertion keeps them honest.
1 parent 77bce40 commit cbc4cf6

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,12 @@ jobs:
9393
# jobs instead of whatever is newest on PyPI that morning.
9494
uv pip install --python /tmp/test-venv/bin/python "$WHL" \
9595
numpy==2.4.6 pytest==9.1.1 pytest-timeout==2.4.0
96-
OUTPUT=$(/tmp/test-venv/bin/python -m pytest tests/unit/test_hnsw.py -v --strict-markers -ra 2>&1)
96+
# Every test file that needs the extension belongs here: the main
97+
# `test` job skips them all for want of a wheel, so a file left out
98+
# of this list runs in no job at all.
99+
OUTPUT=$(/tmp/test-venv/bin/python -m pytest \
100+
tests/unit/test_hnsw.py tests/unit/test_embedded_values.py \
101+
-v --strict-markers -ra 2>&1)
97102
echo "$OUTPUT"
98103
# `-ra` prints a "SKIPPED [N]" short summary header when anything was
99104
# skipped; importorskip-based skip also surfaces this way. Use the

0 commit comments

Comments
 (0)