Skip to content

Commit

Permalink
Manually turn on numba cache to workaround #1194
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher authored and mergify[bot] committed Feb 16, 2024
1 parent 1c0bf8d commit d32b871
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,16 @@ jobs:
- name: Run pre-commit
uses: pre-commit/action@v2.0.0
- name: Test with pytest
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: |
pytest -v --cov=sgkit --cov-report=term-missing
Expand Down

0 comments on commit d32b871

Please sign in to comment.