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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user