Deduplicate UV environment setup across CI steps #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Both lint and test steps independently run
uv python pin && uv sync --dev && uv pip install -e .(~30-60s each). Since test will depend on lint (after issue #42), the workspace already has the installed environment.Fix
Set
UV_PROJECT_ENVIRONMENT=.venvso the virtualenv lives in the shared workspace. Only the first step (lint) runs the full install; subsequent steps reuse it.Acceptance criteria