name: ci on: push: branches: [main] pull_request: workflow_call: jobs: test: runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: ["3.10", "3.12"] steps: - uses: actions/checkout@v5 - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - run: pip install -e ".[dev]" - run: ruff check . - run: ruff format --check . - run: pytest -q # The output must load in the real LeRobot loader, not just look right. lerobot-compat: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 - uses: actions/setup-python@v6 with: python-version: "3.12" - run: pip install torch --index-url https://download.pytorch.org/whl/cpu - run: pip install "lerobot[dataset]" -e ".[dev]" - run: pytest -q -m lerobot