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 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-opus-5-5)
This commit is contained in:
Christin
2026-11-20 18:36:11 +01:00
committed by Bobby Noelte
co-authored by Claude Opus 5.5
parent 1768e11020
commit 887bae551b
+2 -2
View File
@@ -53,7 +53,7 @@ jobs:
- name: Sync environment with uv - name: Sync environment with uv
run: | run: |
uv sync --extra dev uv sync --locked --extra dev
- name: Run tests - name: Run tests
# --durations lists the slowest tests of the shard. The junit report holds the # --durations lists the slowest tests of the shard. The junit report holds the
@@ -298,7 +298,7 @@ jobs:
- name: Sync environment with uv - name: Sync environment with uv
run: | run: |
uv sync --extra dev uv sync --locked --extra dev
- name: Install Chromium with its system libraries - name: Install Chromium with its system libraries
run: | run: |