forked from google-deepmind/mujoco_warp
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 1.12 KB
/
nightly.yml
File metadata and controls
37 lines (34 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Nightly dependency check
on:
schedule:
- cron: "0 11 * * *" # Daily at 11 AM UTC (3 AM PST)
workflow_dispatch: # Allow manual triggers for testing
permissions:
contents: read
jobs:
test-latest-deps:
if: github.event_name != 'schedule' || github.repository == 'google-deepmind/mujoco_warp'
name: Test with latest dependencies (including pre-releases)
# Early warning: tests against latest upstream versions to catch breaking changes
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "0.9.27"
python-version: ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
run: uv python install
- name: Update dependencies to latest (including pre-releases)
run: |
uv lock --upgrade
- name: Show updated dependency tree
run: |
uv tree
- name: Test with pytest
run: |
uv run --with pytest --with pytest-xdist pytest -n 2