File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test suite
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ max-parallel : 4
11
+ matrix :
12
+ python-version : [3.7, 3.8]
13
+
14
+ steps :
15
+ - name : Checkout repo
16
+ uses : actions/checkout@v1
17
+ - name : Set up Python ${{ matrix.python-version }}
18
+ uses : actions/setup-python@v1
19
+ with :
20
+ python-version : ${{ matrix.python-version }}
21
+ - name : Install
22
+ run : |
23
+ python -m pip install --upgrade pip
24
+ pip install .
25
+ - name : Lint
26
+ run : |
27
+ flake8 --ignore N802,N806,W503 --select W504 `find . -name \*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/`
28
+ - name : Test
29
+ run : |
30
+ cd && mkdir for_test && cd for_test && pytest --pyargs nitime --cov-report term-missing --cov=AFQ
You can’t perform that action at this time.
0 commit comments