Skip to content

Commit dac0a04

Browse files
FBumannclaude
andauthored
ci: add weekly latest-deps test workflow (#57)
* 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> * fix: add timeout, fail-fast: false, and guard grep in latest-deps workflow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3292f3e commit dac0a04

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/latest-deps.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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+
timeout-minutes: 30
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
python-version: ["3.10", "3.13"]
17+
18+
steps:
19+
- uses: actions/checkout@v6
20+
21+
- name: Install uv
22+
uses: astral-sh/setup-uv@v7
23+
24+
- name: Set up Python ${{ matrix.python-version }}
25+
run: uv python install ${{ matrix.python-version }}
26+
27+
- name: Install with latest dependencies
28+
run: uv sync --extra dev --upgrade
29+
30+
- name: Test
31+
run: uv run pytest --cov=xarray_plotly
32+
33+
- name: Print dependency versions
34+
if: always()
35+
run: uv pip list | grep -iE "xarray|plotly|pandas" || true

0 commit comments

Comments
 (0)