Skip to content

Commit f221c9e

Browse files
stephane-caronStéphane Caron
authored andcommitted
[minor] Rename loaders to loader testenv
1 parent afadd1b commit f221c9e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: |
5959
tox -e lint
6060
61-
loaders:
61+
loader:
6262
name: "Loader: ${{ matrix.loader }}"
6363
runs-on: ubuntu-latest
6464

@@ -83,6 +83,6 @@ jobs:
8383
8484
- name: "Run loader tests"
8585
run: |
86-
tox -e loaders
86+
tox -e loader
8787
env:
8888
LOADER: ${{ matrix.loader }}

tests/loaders/test_mujoco.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
import unittest
2020

2121
from robot_descriptions._descriptions import DESCRIPTIONS
22-
2322
from robot_descriptions.loaders.mujoco import load_robot_description
2423

24+
2525
class TestMuJoCo(unittest.TestCase):
2626

2727
"""
@@ -50,6 +50,7 @@ def test(self):
5050

5151
return test
5252

53+
5354
for name, description in DESCRIPTIONS.items():
5455
if description.has_mjcf:
5556
setattr(

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ commands =
5151
pylint robot_descriptions --exit-zero --rcfile={toxinidir}/tox.ini
5252
mypy robot_descriptions --ignore-missing-imports
5353

54-
[testenv:loaders]
54+
[testenv:loader]
5555
deps =
5656
GitPython >=3.1.18
5757
pytest

0 commit comments

Comments
 (0)