mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-21 11:39:50 +00:00
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:
@@ -87,7 +87,11 @@ jobs:
|
|||||||
python-version: ${{ env.PYTHON_VERSION }}
|
python-version: ${{ env.PYTHON_VERSION }}
|
||||||
|
|
||||||
- name: Install lerobot with test extras
|
- name: Install lerobot with test extras
|
||||||
run: uv sync --extra "test"
|
run: |
|
||||||
|
uv venv
|
||||||
|
uv pip install -e ".[test]"
|
||||||
|
|
||||||
- name: Run pytest
|
- name: Run pytest
|
||||||
run: uv run pytest tests -vv --maxfail=10
|
run: |
|
||||||
|
source .venv/bin/activate
|
||||||
|
pytest tests -vv --maxfail=10
|
||||||
|
|||||||
Reference in New Issue
Block a user