|
1 | 1 | [tox]
|
2 |
| -env_list = py{310,311,312},notebooks,py{310,311,312}-ml,py{310,311,312}-verify-install |
| 2 | +env_list = py{310,311,312},py{310,311,312}-ml,py{310,311,312}-verify-install |
3 | 3 |
|
4 | 4 | [gh-actions]
|
5 | 5 | python =
|
|
38 | 38 | set_env =
|
39 | 39 | BENCHMARK_EPISODES_FOLDER = {tox_root}/episodes
|
40 | 40 | commands =
|
| 41 | + python --version |
41 | 42 | python -m pytest {posargs} --ignore=tests/ml
|
42 | 43 |
|
43 | 44 | [testenv:py{310,311,312}-ml]
|
|
49 | 50 | -r requirements-ml.txt
|
50 | 51 | commands =
|
51 | 52 | python --version
|
52 |
| - python -m pytest {posargs} |
| 53 | + python -m pytest --retries 2 --retry-delay 5 {posargs} |
53 | 54 |
|
54 | 55 | [testenv:lint]
|
55 | 56 | base_python = python3.10
|
@@ -83,22 +84,24 @@ set_env =
|
83 | 84 | commands =
|
84 | 85 | python benchmarks/profile_all_examples.py
|
85 | 86 |
|
86 |
| -[testenv:examples] |
87 |
| -base_python = python3.10 |
| 87 | +[testenv:py{310,311,312}-examples] |
| 88 | +platform = linux|linux2|darwin |
88 | 89 | deps =
|
89 | 90 | -r requirements-dev.txt
|
90 | 91 | commands =
|
| 92 | + python --version |
91 | 93 | python benchmarks/run_all_examples.py
|
92 | 94 |
|
93 |
| -[testenv:notebooks] |
94 |
| -base_python = python3.10 |
| 95 | +[testenv:py{310,311,312}-notebooks] |
| 96 | +platform = linux|linux2|darwin |
95 | 97 | allowlist_externals =
|
96 | 98 | bash
|
97 | 99 | pwd
|
98 | 100 | deps =
|
99 | 101 | -r requirements-dev.txt
|
100 | 102 | commands =
|
101 |
| - python -m pytest --nbmake \ |
| 103 | + python --version |
| 104 | + python -m pytest -s --nbmake \ |
102 | 105 | notebooks/simple-graph-plot-2022.ipynb \
|
103 | 106 | notebooks/Agent-Close-Following.ipynb \
|
104 | 107 | notebooks/simple_example_manual_control.ipynb \
|
|
0 commit comments