Some checks failed
nightly / Test against latest dependencies (py3.10) (push) Has been cancelled
nightly / Test against latest dependencies (py3.13) (push) Has been cancelled
tests / tests (3.13, locked) (push) Has been cancelled
tests / tests (3.13, unlocked) (push) Has been cancelled
tests / pyright (3.10) (push) Has been cancelled
tests / lint-format (push) Has been cancelled
tests / tests (3.10, locked) (push) Has been cancelled
tests / tests (3.11, locked) (push) Has been cancelled
tests / tests (3.12, locked) (push) Has been cancelled
tests / pyright (3.11) (push) Has been cancelled
tests / pyright (3.12) (push) Has been cancelled
tests / pyright (3.13) (push) Has been cancelled
tests / ty-check (3.10) (push) Has been cancelled
tests / ty-check (3.11) (push) Has been cancelled
tests / ty-check (3.12) (push) Has been cancelled
tests / ty-check (3.13) (push) Has been cancelled
tests / stubs (push) Has been cancelled
tests / smoke-test (push) Has been cancelled
Docker / check_paths (push) Has been cancelled
docs / build (push) Has been cancelled
Docker / build (push) Has been cancelled
Upstream: https://github.com/michaelgillett/mjlab Upstream-Commit: c19f713c415a699a79d71cd96aa13c3104a05047 Upstream-Branch: main
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
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
|