File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : python-suitesparse-graphblas
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+
8+ jobs :
9+ test :
10+ runs-on : ${{ matrix.os }}
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ os : ["ubuntu-latest", "macos-latest", "windows-latest"]
15+ python-version : [3.7, 3.8, 3.9]
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v2
19+ - name : Conda
20+ uses : conda-incubator/setup-miniconda@v2
21+ with :
22+ auto-update-conda : true
23+ python-version : ${{ matrix.python-version }}
24+ channels : conda-forge
25+ - name : Build
26+ run : |
27+ conda info
28+ conda list
29+ conda install -c conda-forge cffi cython numpy graphblas pytest coverage black flake8 # TODO: environment.yml
30+ python setup.py build_ext --inplace
31+ python setup.py develop
32+ - name : Test
33+ env :
34+ CYTHON_COVERAGE : true
35+ run : |
36+ coverage run --branch -m pytest
37+ - name : Lint
38+ run : |
39+ black *py suitesparse_graphblas --check --diff
40+ flake8 *py suitesparse_graphblas
You can’t perform that action at this time.
0 commit comments