-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid disabling jit on guvectorize functions #1194
- Loading branch information
1 parent
522be0a
commit be13fa0
Showing
1 changed file
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|