feat(ci): log into HF to unblock some CI tests

This commit is contained in:
Steven Palma
2026-02-24 11:56:13 +01:00
parent 7fd71c83a3
commit 2504d00707
8 changed files with 18 additions and 51 deletions
+6
View File
@@ -61,6 +61,7 @@ jobs:
MUJOCO_GL: egl
HF_HOME: /mnt/cache/.cache/huggingface
HF_LEROBOT_HOME: /mnt/cache/.cache/huggingface/lerobot
HF_TOKEN: ${{ secrets.LEROBOT_HF_USER }}
steps:
- uses: actions/checkout@v6
with:
@@ -89,5 +90,10 @@ jobs:
- name: Install lerobot with test extras
run: uv sync --extra "test"
- name: Login to Hugging Face
run: |
uv run huggingface-cli login --token "$HF_TOKEN" --add-to-git-credential
uv run huggingface-cli whoami
- name: Run pytest
run: uv run pytest tests -vv --maxfail=10