Skip to content

Commit 4b398ff

Browse files
stephane-caronStéphane Caron
authored andcommitted
[CI] Run loader tests from within loaders/ subdir
1 parent 687a889 commit 4b398ff

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

tox.ini

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,38 +44,44 @@ commands =
4444
mypy robot_descriptions --ignore-missing-imports
4545

4646
[testenv:loader-idyntree]
47+
changedir = {toxinidir}/tests/loaders
4748
deps =
4849
idyntree >= 8.0.0
4950
commands =
50-
python -m unittest tests/loaders/test_idyntree.py
51+
python -m unittest test_idyntree.py
5152

5253
[testenv:loader-mujoco]
54+
changedir = {toxinidir}/tests/loaders
5355
deps =
5456
mujoco >=2.2.1
5557
commands =
56-
python -m unittest tests/loaders/test_mujoco.py
58+
python -m unittest test_mujoco.py
5759

5860
[testenv:loader-pinocchio]
61+
changedir = {toxinidir}/tests/loaders
5962
deps =
6063
pin >=2.6.14
6164
commands =
62-
python -m unittest tests/loaders/test_pinocchio.py
65+
python -m unittest test_pinocchio.py
6366

6467
[testenv:loader-pybullet]
68+
changedir = {toxinidir}/tests/loaders
6569
deps =
6670
numpy >=1.23.4
6771
pybullet >=3.2.5
6872
commands =
69-
python -m unittest tests/loaders/test_pybullet.py
73+
python -m unittest test_pybullet.py
7074

7175
[testenv:loader-robomeshcat]
76+
changedir = {toxinidir}/tests/loaders
7277
deps =
7378
pycollada >=0.6
7479
robomeshcat >= 1.0.4
7580
commands =
76-
python -m unittest tests/loaders/test_robomeshcat.py
81+
python -m unittest test_robomeshcat.py
7782

7883
[testenv:loader-yourdfpy]
84+
changedir = {toxinidir}/tests/loaders
7985
deps =
8086
numpy >=1.23.4
8187
trimesh ~=3.16.0

0 commit comments

Comments
 (0)