From 887bae551b218d092de360a2da1261fcf369f13a Mon Sep 17 00:00:00 2001 From: Christin Date: Fri, 20 Nov 2026 08:23:44 +0100 Subject: [PATCH] ci: install the locked environment in the test workflow uv sync without --locked resolves again when uv.lock is out of date. The test jobs of #1569 installed pydantic 2.14.3 and pydantic-core 2.50.4, while uv.lock pins 2.14.2 and 2.50.2, and passed. With --locked the test jobs fail on a stale lockfile like the pre-commit job and test the versions uv.lock pins. Co-Authored-By: Claude Opus 5.5 Assisted-by: Claude Code (claude-opus-5-5) --- .github/workflows/pytest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 1168cdb6..e5679700 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -53,7 +53,7 @@ jobs: - name: Sync environment with uv run: | - uv sync --extra dev + uv sync --locked --extra dev - name: Run tests # --durations lists the slowest tests of the shard. The junit report holds the @@ -298,7 +298,7 @@ jobs: - name: Sync environment with uv run: | - uv sync --extra dev + uv sync --locked --extra dev - name: Install Chromium with its system libraries run: |