Skip to content

Commit

Permalink
Avoid disabling jit on guvectorize functions #1194
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymillar authored and mergify[bot] committed Mar 13, 2024
1 parent 522be0a commit be13fa0
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,14 @@ jobs:
pip install -r requirements.txt -r requirements-dev.txt
- name: Run pre-commit
uses: pre-commit/[email protected]
- name: Test with pytest
- name: Test with pytest (numba jit disabled)
env:
# Enable cache to workaround build problems
# https://github.com/pystatgen/sgkit/issues/1194
SGKIT_DISABLE_NUMBA_CACHE: 0
run: |
pytest -v
- name: Test with pytest and coverage (numba jit disabled)
env:
# See above ^
SGKIT_DISABLE_NUMBA_CACHE: 0
NUMBA_DISABLE_JIT: 1
run: |
# avoid guvectorized functions #1194
pytest -v sgkit/tests/test_pedigree.py
pytest -v sgkit/tests/io/vcf/test_vcf_writer_utils.py
- name: Test with pytest and coverage
run: |
pytest -v --cov=sgkit --cov-report=term-missing
- name: Upload coverage to Codecov
Expand Down

0 comments on commit be13fa0

Please sign in to comment.