Skip to content

Commit be13fa0

Browse files
timothymillarmergify[bot]
authored andcommitted
Avoid disabling jit on guvectorize functions #1194
1 parent 522be0a commit be13fa0

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,14 @@ jobs:
2828
pip install -r requirements.txt -r requirements-dev.txt
2929
- name: Run pre-commit
3030
uses: pre-commit/[email protected]
31-
- name: Test with pytest
31+
- name: Test with pytest (numba jit disabled)
3232
env:
33-
# Enable cache to workaround build problems
34-
# https://github.com/pystatgen/sgkit/issues/1194
35-
SGKIT_DISABLE_NUMBA_CACHE: 0
36-
run: |
37-
pytest -v
38-
- name: Test with pytest and coverage (numba jit disabled)
39-
env:
40-
# See above ^
41-
SGKIT_DISABLE_NUMBA_CACHE: 0
4233
NUMBA_DISABLE_JIT: 1
34+
run: |
35+
# avoid guvectorized functions #1194
36+
pytest -v sgkit/tests/test_pedigree.py
37+
pytest -v sgkit/tests/io/vcf/test_vcf_writer_utils.py
38+
- name: Test with pytest and coverage
4339
run: |
4440
pytest -v --cov=sgkit --cov-report=term-missing
4541
- name: Upload coverage to Codecov

0 commit comments

Comments
 (0)