-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathtox.ini
71 lines (64 loc) · 1.65 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
[tox]
envlist = py37, py38, py310, py311, py312, py313, 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
python {toxinidir}/tests/whitelist.py
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 =
pre-commit
commands =
pre-commit run --all-files --show-diff-on-failure
[testenv:fix-style]
skipsdist = true
deps =
ruff==0.4.3
commands =
ruff check {toxinidir} --fix --unsafe-fixes