14
14
strategy :
15
15
fail-fast : false
16
16
matrix :
17
- os : ["windows-latest"]
18
- python-version : [3.9]
19
- # os: ["ubuntu-latest", "macos-latest", "windows-latest"]
20
- # python-version: [3.7, 3.8, 3.9]
17
+ os : ["ubuntu-latest", "macos-latest", "windows-latest"]
18
+ python-version : [3.7, 3.8, 3.9]
21
19
steps :
22
20
- name : Checkout
23
21
uses : actions/checkout@v2
@@ -38,17 +36,18 @@ jobs:
38
36
CYTHON_COVERAGE : true
39
37
run : |
40
38
coverage run --branch -m pytest
39
+ coverage run -a suitesparse_graphblas/tests/test_initialize.py
41
40
- name : Lint
42
41
run : |
43
42
black *py suitesparse_graphblas --check --diff
44
43
flake8 *py suitesparse_graphblas
45
- - name : Create headers check
44
+ - name : create_headers.py check
46
45
run : |
47
46
# These shouldn't change, so make copies to compare to
48
47
cp suitesparse_graphblas/suitesparse_graphblas.h .
49
48
cp suitesparse_graphblas/suitesparse_graphblas_no_complex.h .
50
- cp suitesparse_graphblas/source.h .
51
- python suitesparse_graphblas/create_headers.py
49
+ cp suitesparse_graphblas/source.c .
50
+ coverage run -a suitesparse_graphblas/create_headers.py
52
51
diff suitesparse_graphblas/suitesparse_graphblas.h suitesparse_graphblas.h
53
52
diff suitesparse_graphblas/suitesparse_graphblas_no_complex.h suitesparse_graphblas_no_complex.h
54
- diff suitesparse_graphblas/source.h source.h
53
+ diff suitesparse_graphblas/source.c source.c
0 commit comments