Merge branch 'fix/storage-ci-runners' into fix/add-xvla-ci-main

This commit is contained in:
Steven Palma
2025-12-01 17:13:52 +01:00
3 changed files with 28 additions and 6 deletions

View File

@@ -60,12 +60,17 @@ jobs:
runs-on: ubuntu-latest
env:
MUJOCO_GL: egl
HF_HOME: /mnt/cache/.cache/huggingface
HF_LEROBOT_HOME: /mnt/cache/.cache/huggingface/lerobot
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
lfs: true
- name: Setup /mnt storage
run: sudo chown -R $USER:$USER /mnt
# TODO(Steven): Evaluate the need of these dependencies
- name: Install apt dependencies
run: |
@@ -80,8 +85,14 @@ jobs:
version: ${{ env.UV_VERSION }}
python-version: ${{ env.PYTHON_VERSION }}
- name: Check disk usage
run: df -h
- name: Install lerobot with test extras
run: uv sync --extra "test"
- name: Check disk usage
run: df -h
- name: Run pytest
run: uv run pytest tests -vv --maxfail=10

View File

@@ -58,18 +58,16 @@ jobs:
github.event_name == 'workflow_dispatch'
env:
MUJOCO_GL: egl
HF_HOME: /mnt/cache/.cache/huggingface
HF_LEROBOT_HOME: /mnt/cache/.cache/huggingface/lerobot
steps:
- uses: actions/checkout@v4
with:
lfs: true
persist-credentials: false
- name: Free disk space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
docker system prune -af || true
- name: Setup /mnt storage
run: sudo chown -R $USER:$USER /mnt
- name: Install apt dependencies
run: |
@@ -87,12 +85,21 @@ jobs:
- name: Install lerobot with all extras
run: uv sync --all-extras --no-extra groot # TODO(Steven): Make flash-attn optional
- name: Check disk usage
run: df -h
- name: Run pytest (all extras)
run: uv run pytest tests -vv --maxfail=10
- name: Check disk usage
run: df -h
- name: Run end-to-end tests
run: uv run make test-end-to-end
- name: Check disk usage
run: df -h
# This job builds a GPU enabled image for testing
# It runs everytime a PR is approved or a push to main
# TODO(Steven): For now we skip this job for community PRs

View File

@@ -45,11 +45,15 @@ jobs:
runs-on: ubuntu-latest
env:
MUJOCO_GL: egl
HF_HOME: /mnt/cache/.cache/huggingface
HF_LEROBOT_HOME: /mnt/cache/.cache/huggingface/lerobot
steps:
- uses: actions/checkout@v4
with:
lfs: true
persist-credentials: false
- name: Setup /mnt storage
run: sudo chown -R $USER:$USER /mnt
- name: Install apt dependencies
run: |