forked from cogent3/cogent3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
45 lines (39 loc) · 968 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[tox]
envlist = py36, py37, py37mpi, py38
[testenv]
passenv = *
deps = numba>0.48.0
numpy
tinydb
tqdm
click
pytest
scitrack
pandas
py{36,37,38}: pytest-cov
py37mpi: mpi4py
[testenv:py38]
changedir = tests
basepython = python3.8
commands =
pytest --junitxml=junit-{envname}.xml --cov-report xml --cov=cogent3 ./ --ignore=test_mpi.py
[testenv:py37]
changedir = tests
basepython = python3.7
commands =
pytest --junitxml=junit-{envname}.xml --cov-report xml --cov=cogent3 ./ --ignore=test_mpi.py
[testenv:py37mpi]
changedir = tests
basepython = python3.7
commands =
mpiexec -n 1 pytest --junitxml=junit-{envname}.xml --cov-report xml --cov=cogent3 ./ test_mpi.py
[testenv:py36]
changedir = tests
basepython = python3.6
commands =
pytest --junitxml=junit-{envname}.xml --cov-report xml --cov=cogent3 ./ --ignore=test_mpi.py
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38