File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 58
58
matrix :
59
59
os : [ubuntu-latest, windows-latest, macos-latest]
60
60
pyversion : ["3.x", "3.8"]
61
+ test-type : ['unit']
62
+ include :
63
+ - os : ubuntu-latest
64
+ pyversion : ' 3.x'
65
+ test-type : ' integration'
61
66
steps :
62
67
- uses : actions/checkout@v3
63
68
- name : Set up Python ${{ matrix.pyversion }}
82
87
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
83
88
- name : Run tests
84
89
run : |
85
- pytest -s --nbval --cov=pysrc ./pytest/
90
+ if [ "${{ matrix.test-type }}" == "integration" ]; then
91
+ pytest -s --nbval --cov=pysrc ./pytest/integration/
92
+ else
93
+ pytest -s --nbval --cov=pysrc ./pytest/ -k "not integration"
94
+ fi
86
95
env :
87
96
PYTHON_JULIACALL_THREADS : ' 2'
88
97
- name : Upload coverage to Codecov
You can’t perform that action at this time.
0 commit comments