forked from aibasel/lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
87 lines (80 loc) · 1.95 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
78
79
80
81
82
83
84
85
86
87
[tox]
envlist = py37, py38, py310, py311, downward, ff, singularity, style, docs # Skip py39 since it chokes on distutils.
basepython = python3
skip_missing_interpreters = true
[testenv]
deps =
pytest
commands =
pytest --doctest-modules --ignore=downward/scripts downward lab tests examples/showcase-options.py
bash {toxinidir}/tests/run-example-experiment vertex-cover/exp.py --all
bash {toxinidir}/tests/run-example-experiment lmcut.py --all
bash {toxinidir}/tests/run-example-experiment showcase-options.py --all
bash {toxinidir}/tests/run-example-experiment report-external-results.py --all
passenv =
CXX
DOWNWARD_BENCHMARKS
DOWNWARD_REPO
DOWNWARD_REVISION_CACHE
allowlist_externals =
bash
package = wheel
wheel_build_env = .pkg
[testenv:ff]
commands =
bash {toxinidir}/tests/run-example-experiment ff/ff.py --all
passenv =
DOWNWARD_BENCHMARKS
allowlist_externals =
bash
[testenv:downward]
commands =
bash {toxinidir}/tests/run-downward-experiment
passenv =
DOWNWARD_BENCHMARKS
DOWNWARD_REPO
DOWNWARD_REVISION_CACHE
allowlist_externals =
bash
[testenv:singularity]
commands =
bash {toxinidir}/tests/run-example-experiment singularity/singularity-exp.py --all
passenv =
DOWNWARD_BENCHMARKS
SINGULARITY_IMAGES
allowlist_externals =
bash
[testenv:docs]
skipsdist = true
deps = -rdocs/requirements.txt
commands =
bash {toxinidir}/tests/build-docs
[testenv:style]
skipsdist = true
deps =
black==22.3.0
blackdoc==0.3.4
flake8==4.0.1
flake8-2020
flake8-bugbear
flake8-comprehensions
isort>=5.0,<5.1
pyupgrade==3.3.1
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==3.3.1
commands =
black .
blackdoc .
isort downward/ examples/ lab/ tests/ setup.py
bash -c 'pyupgrade --py37-plus --exit-zero `find downward lab tests -name "*.py"`'
allowlist_externals =
bash