-
Notifications
You must be signed in to change notification settings - Fork 119
/
tox.ini
66 lines (56 loc) · 1.26 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[tox]
skip_missing_interpreters=True
envlist =
py36
py37
py38
py39
py310
py311
py312
[env]
passenv =
SLURM_LIB_DIR
SLURM_INCLUDE_DIR
SLURM_BUILD_JOBS
[testenv]
labels = test
deps = -r{toxinidir}/test_requirements.txt
passenv = {[env]passenv}
skip_install = true
commands =
{envpython} -V
cython -V
{envpython} {toxinidir}/setup.py build -j {env:SLURM_BUILD_JOBS:4}
{envpython} {toxinidir}/setup.py install
pytest tests/unit
[testenv:build-cy3x]
labels = build,cy3x
deps = -r{toxinidir}/build_requirements.txt
skip_install = true
passenv = {[env]passenv}
commands =
{envpython} -V
cython -V
{envpython} {toxinidir}/setup.py build -j {env:SLURM_BUILD_JOBS:4}
[testenv:build-cy29]
labels = build,cy29
deps =
-r{toxinidir}/build_requirements.txt
Cython == 0.29.37
passenv = {[env]passenv}
skip_install = true
commands =
{envpython} -V
cython -V
{envpython} {toxinidir}/setup.py build -j {env:SLURM_BUILD_JOBS:4}
[testenv:integration]
labels = test,integration
skip_install = true
passenv = {[env]passenv}
commands =
{envpython} -V
cython -V
{envpython} {toxinidir}/setup.py build -j {env:SLURM_BUILD_JOBS:4}
{envpython} {toxinidir}/setup.py install
pytest tests/integration