update tests script to not use unnecessary uv sync call which resolves dependencies that do not need to run. This drastically reduces CI run time

This commit is contained in:
Bryson Jones
2026-01-17 09:20:11 -08:00
parent f3dc152e94
commit 8f33a1392e
+6 -2
View File
@@ -87,7 +87,11 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install lerobot with test extras
run: uv sync --extra "test"
run: |
uv venv
uv pip install -e ".[test]"
- name: Run pytest
run: uv run pytest tests -vv --maxfail=10
run: |
source .venv/bin/activate
pytest tests -vv --maxfail=10