File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build NumPy 2
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+
7
+ jobs :
8
+ build :
9
+ # Scheduled runs only on the origin org
10
+ if : (github.event_name == 'schedule' && github.repository_owner == 'sgkit-dev') || (github.event_name != 'schedule')
11
+ runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ python-version : ["3.9", "3.10", "3.11"]
15
+
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+ - name : Set up Python ${{ matrix.python-version }}
19
+ uses : actions/setup-python@v2
20
+ with :
21
+ python-version : ${{ matrix.python-version }}
22
+ - name : Install dependencies
23
+ run : |
24
+ python -m pip install --upgrade pip
25
+ pip install -r requirements.txt -r requirements-dev.txt
26
+ pip install -U numpy
27
+ - name : Run pre-commit
28
+ uses :
pre-commit/[email protected]
29
+ - name : Test with pytest (numba jit disabled)
30
+ env :
31
+ NUMBA_DISABLE_JIT : 1
32
+ run : |
33
+ # avoid guvectorized functions #1194
34
+ pytest -v sgkit/tests/test_pedigree.py
35
+ pytest -v sgkit/tests/io/vcf/test_vcf_writer_utils.py
36
+ - name : Test with pytest and coverage
37
+ run : |
38
+ pytest -v --cov=sgkit --cov-report=term-missing
You can’t perform that action at this time.
0 commit comments