diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bee8c99c..7215110b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 \ diff --git a/tests/test_robots.py b/tests/test_robots.py index 93c1a1fe..0b33d8ea 100644 --- a/tests/test_robots.py +++ b/tests/test_robots.py @@ -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")