From f6833d9e55c77bdacaea019604d5de5819ddede5 Mon Sep 17 00:00:00 2001 From: FBumann <117816358+FBumann@users.noreply.github.com> Date: Fri, 20 Mar 2026 12:06:52 +0100 Subject: [PATCH 1/2] 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) --- .github/workflows/latest-deps.yml | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/latest-deps.yml diff --git a/.github/workflows/latest-deps.yml b/.github/workflows/latest-deps.yml new file mode 100644 index 0000000..6b91e84 --- /dev/null +++ b/.github/workflows/latest-deps.yml @@ -0,0 +1,33 @@ +name: Test Latest Dependencies + +on: + schedule: + # Every Monday at 07:00 UTC + - cron: "0 7 * * 1" + workflow_dispatch: + +jobs: + test-latest: + 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 + + - name: Set up Python ${{ matrix.python-version }} + run: uv python install ${{ matrix.python-version }} + + - name: Install with latest dependencies + run: uv sync --extra dev --upgrade + + - name: Test + run: uv run pytest --cov=xarray_plotly + + - name: Print dependency versions + if: always() + run: uv pip list | grep -iE "xarray|plotly|pandas" From a53969e3d83c2d61980cb1129187c5a4b3f8e478 Mon Sep 17 00:00:00 2001 From: FBumann <117816358+FBumann@users.noreply.github.com> Date: Fri, 20 Mar 2026 18:54:23 +0100 Subject: [PATCH 2/2] fix: add timeout, fail-fast: false, and guard grep in latest-deps workflow Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/latest-deps.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/latest-deps.yml b/.github/workflows/latest-deps.yml index 6b91e84..a8cd16f 100644 --- a/.github/workflows/latest-deps.yml +++ b/.github/workflows/latest-deps.yml @@ -9,7 +9,9 @@ on: jobs: test-latest: runs-on: ubuntu-latest + timeout-minutes: 30 strategy: + fail-fast: false matrix: python-version: ["3.10", "3.13"] @@ -30,4 +32,4 @@ jobs: - name: Print dependency versions if: always() - run: uv pip list | grep -iE "xarray|plotly|pandas" + run: uv pip list | grep -iE "xarray|plotly|pandas" || true