-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathtox.ini
77 lines (71 loc) · 1.62 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
67
68
69
70
71
72
73
74
75
76
77
[tox]
envlist = py36, py37, py38, py39, ff, singularity, style, docs
basepython = python3
skip_missing_interpreters = true
[testenv]
deps =
pytest
commands =
pytest --doctest-modules downward lab tests examples/showcase-options.py
bash {toxinidir}/tests/run-example-experiment vertex-cover/exp.py
bash {toxinidir}/tests/run-example-experiment lmcut.py
bash {toxinidir}/tests/run-example-experiment showcase-options.py
bash {toxinidir}/tests/run-example-experiment report-external-results.py
passenv =
CXX
DOWNWARD_BENCHMARKS
DOWNWARD_REPO
DOWNWARD_REVISION_CACHE
whitelist_externals =
bash
[testenv:ff]
commands =
bash {toxinidir}/tests/run-example-experiment ff/ff.py
passenv =
DOWNWARD_BENCHMARKS
whitelist_externals =
bash
[testenv:singularity]
commands =
bash {toxinidir}/tests/run-example-experiment singularity/singularity-exp.py
passenv =
DOWNWARD_BENCHMARKS
SINGULARITY_IMAGES
whitelist_externals =
bash
[testenv:docs]
skipsdist = true
deps =
sphinx
sphinx_rtd_theme
commands =
bash {toxinidir}/tests/build-docs
[testenv:style]
skipsdist = true
deps =
black==22.3.0
blackdoc==0.3.4
flake8
flake8-2020
flake8-bugbear
flake8-comprehensions
isort>=5.0,<5.1
pyupgrade==2.18.3
vulture
commands =
bash {toxinidir}/tests/find-dead-code
bash {toxinidir}/tests/check-style
[testenv:fix-style]
skipsdist = true
deps =
black==22.3.0
blackdoc==0.3.4
isort>=5.0,<5.1
pyupgrade==2.18.3
commands =
black .
blackdoc .
isort downward/ examples/ lab/ tests/ setup.py
bash -c 'pyupgrade --py36-plus --exit-zero `find downward lab tests -name "*.py"`'
whitelist_externals =
bash