Skip to content

Commit f6833d9

Browse files
FBumannclaude
andcommitted
ci: add weekly workflow to test against latest dependencies
Runs every Monday with `uv sync --upgrade` to catch upstream breakage early, testing on Python 3.10 and 3.13. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3292f3e commit f6833d9

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/latest-deps.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Test Latest Dependencies
2+
3+
on:
4+
schedule:
5+
# Every Monday at 07:00 UTC
6+
- cron: "0 7 * * 1"
7+
workflow_dispatch:
8+
9+
jobs:
10+
test-latest:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["3.10", "3.13"]
15+
16+
steps:
17+
- uses: actions/checkout@v6
18+
19+
- name: Install uv
20+
uses: astral-sh/setup-uv@v7
21+
22+
- name: Set up Python ${{ matrix.python-version }}
23+
run: uv python install ${{ matrix.python-version }}
24+
25+
- name: Install with latest dependencies
26+
run: uv sync --extra dev --upgrade
27+
28+
- name: Test
29+
run: uv run pytest --cov=xarray_plotly
30+
31+
- name: Print dependency versions
32+
if: always()
33+
run: uv pip list | grep -iE "xarray|plotly|pandas"

0 commit comments

Comments
 (0)