ci: skip timing-sensitive GIL test in coverage builds (#412)

The COVERAGE build type uses -O0 and gcov instrumentation, which slows
C++ query execution ~5-10x. This causes test_gil_released_during_query
to exceed its 0.5s timing threshold and fail with an inconclusive result.
This commit is contained in:
feihongxu0824
2026-05-19 10:45:42 +08:00
committed by GitHub
parent a9008b0fd2
commit 18b79586a7
+2 -1
View File
@@ -78,7 +78,8 @@ jobs:
- name: Run Python Tests with Coverage
run: |
cd "$GITHUB_WORKSPACE"
python -m pytest python/tests/ --cov=zvec --cov-report=xml
python -m pytest python/tests/ --cov=zvec --cov-report=xml \
--deselect=python/tests/test_gil_release.py::TestGILRelease::test_gil_released_during_query
shell: bash
- name: Run C++ Tests and Generate Coverage