name: nightly # Early warning: upgrade every dependency to its latest version and run the # test suite, so an upstream release that breaks mjlab shows up here rather than # in a user's install or at release time. on: schedule: - cron: "17 11 * * *" # Daily at 11:17 UTC (off the hour to reduce delay). workflow_dispatch: permissions: contents: read jobs: latest-deps: name: Test against latest dependencies (py${{ matrix.python-version }}) # Skip on forks; scheduled runs only make sense on the canonical repo. if: github.repository == 'mujocolab/mjlab' runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: ["3.10", "3.13"] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup uv uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 with: python-version: ${{ matrix.python-version }} version: "0.12.1" - name: Upgrade all dependencies to latest run: uv lock --upgrade - name: Show dependency tree run: uv tree - name: Test run: uv run --extra cpu pytest