Skip to content

Commit 02e19e6

Browse files
stephane-caronStéphane Caron
authored andcommitted
Update tox.ini
1 parent c354f30 commit 02e19e6

File tree

1 file changed

+38
-8
lines changed

1 file changed

+38
-8
lines changed

tox.ini

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,59 @@ python =
99
3.9: py39
1010
3.10: py310
1111

12-
[testenv]
12+
[gh-actions:env]
13+
LOADER =
14+
mujoco: mujoco
15+
pinocchio: pinocchio
16+
pybullet: pybullet
17+
robomeshcat: robomeshcat
18+
yourdfpy: yourdfpy
19+
20+
[testenv:coverage]
1321
deps =
1422
GitPython >=3.1.18
15-
black
1623
coverage
24+
tqdm >=4.64.0
25+
mujoco >=2.2.1
26+
pin >=2.6.10
27+
pybullet >=3.2.5
28+
robomeshcat >= 1.0.3
29+
yourdfpy >=0.0.52
30+
commands =
31+
coverage erase
32+
coverage run -m unittest tests
33+
coverage report --include="robot_descriptions/**"
34+
35+
[testenv:lint]
36+
deps =
37+
GitPython >=3.1.18
38+
black
1739
flake8
1840
mccabe
19-
mujoco >=2.2.1
2041
mypy
21-
pybullet >=3.2.5
2242
pylint
43+
mujoco >=2.2.1
2344
py{38,39}: pin >=2.6.10
45+
pybullet >=3.2.5
2446
py{38,39}: robomeshcat >= 1.0.3
25-
tqdm >=4.64.0
2647
yourdfpy >=0.0.52
2748
commands =
2849
black robot_descriptions
2950
flake8 robot_descriptions
3051
pylint robot_descriptions --exit-zero --rcfile={toxinidir}/tox.ini
3152
mypy robot_descriptions --ignore-missing-imports
32-
coverage erase
33-
coverage run -m unittest tests.test_robomeshcat
34-
coverage report --include="robot_descriptions/*"
53+
54+
[testenv:loaders]
55+
deps =
56+
GitPython >=3.1.18
57+
pytest
58+
mujoco: mujoco >=2.2.1
59+
pinocchio-py{38,39}: pin >=2.6.10
60+
pybullet: pybullet >=3.2.5
61+
robomeshcat-py{38,39}: robomeshcat >= 1.0.3
62+
yourdfpy: yourdfpy >=0.0.52
63+
commands =
64+
pytest tests/loaders/test_{env:LOADER}.py
3565

3666
[flake8]
3767
max-line-length = 88

0 commit comments

Comments
 (0)