From 0e568c176107ff77d8aa4cb274e92a576064fd2a Mon Sep 17 00:00:00 2001 From: jeqcho Date: Mon, 13 Jul 2026 17:32:29 -0700 Subject: [PATCH] ci: gate the strict docs build in ci-ok via the quality job docs.yml's build job lives in a different workflow, so it can't join ci-ok's needs list and a broken strict docs build could merge green. Mirrors the same fix in kitchenbench. Co-Authored-By: Claude Fable 5 --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b6faf5..42ae6cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,14 +27,19 @@ jobs: cache-dependency-glob: | **/pyproject.toml **/uv.lock - - name: Install from uv.lock (dev extras) - run: uv sync --locked --python 3.11 --extra dev + - name: Install from uv.lock (dev + docs extras) + run: uv sync --locked --python 3.11 --extra dev --extra docs - name: Ruff (lint) run: uv run ruff check . - name: Ruff (format check) run: uv run ruff format --check . - name: Mypy (strict) run: uv run mypy + # Gated here because docs.yml's build job is in a different workflow and + # can't join ci-ok's needs list: a dead link that fails the strict docs + # build must not be mergeable. + - name: Docs build (strict) + run: uv run mkdocs build --strict # Blocking test gate across the supported OS x Python matrix. test: