This commit is contained in:
Remi Cadene
2024-09-27 16:56:53 +02:00
parent 9dea00ee9e
commit 2e694fcf8f
2 changed files with 3 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ jobs:
- name: Test with pytest
run: |
pytest tests -v --cov=./lerobot --durations=0 \
pytest tests/test_cameras.py tests/test_control_robot.py tests/test_motors.py tests/test_robots.py -v --cov=./lerobot --durations=0 \
-W ignore::DeprecationWarning:imageio_ffmpeg._utils:7 \
-W ignore::UserWarning:torch.utils.data.dataloader:558 \
-W ignore::UserWarning:gymnasium.utils.env_checker:247 \

View File

@@ -44,6 +44,8 @@ def test_robot(tmpdir, request, robot_type, mock):
# To simplify unit test, we do not rerun manual calibration for Aloha mock=True.
# Instead, we use the files from '.cache/calibration/aloha_default'
overrides_calibration_dir = None
assert Path(".cache/calibration/aloha_default/left_follower.json").exists()
else:
if mock:
request.getfixturevalue("patch_builtins_input")