Skip to content

Commit

Permalink
also check lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
oleflb committed Jan 18, 2025
1 parent c4f0364 commit f4136a3
Showing 1 changed file with 33 additions and 8 deletions.
41 changes: 33 additions & 8 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,11 @@ jobs:
- name: Build docs
run: mkdocs build --strict

check_mujoco:
check-mujoco:
name: Check Mujoco
runs-on: ubuntu-latest
runs-on:
- self-hosted
- v3
defaults:
run:
working-directory: tools/machine-learning/mujoco
Expand All @@ -191,9 +193,30 @@ jobs:
run: |
uv run ruff check
format_mujoco:
test-mujoco:
name: Test Mujoco
runs-on:
- self-hosted
- v3
defaults:
run:
working-directory: tools/machine-learning/mujoco
shell: bash
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Check Mujoco
run: |
uv run pytest
format-mujoco:
name: Format Mujoco
runs-on: ubuntu-latest
runs-on:
- self-hosted
- v3
defaults:
run:
working-directory: tools/machine-learning/mujoco
Expand All @@ -208,9 +231,11 @@ jobs:
run: |
uv run ruff format --check
test_mujoco:
name: Test Mujoco
runs-on: ubuntu-latest
check-mujoco-lock:
name: Check Mujoco uv.lock
runs-on:
- self-hosted
- v3
defaults:
run:
working-directory: tools/machine-learning/mujoco
Expand All @@ -223,4 +248,4 @@ jobs:
uses: astral-sh/setup-uv@v5
- name: Check Mujoco
run: |
uv run pytest
uv sync --locked

0 comments on commit f4136a3

Please sign in to comment.