From 95f38303bd603f20e483ce68e6e14f3c7b4fc73a Mon Sep 17 00:00:00 2001 From: Test Bot Date: Wed, 24 Jun 2026 12:18:30 +0000 Subject: [PATCH] ci: install from the lockfile (uv sync --frozen) instead of pip install latest CI ran 'pip install .[dev]', which ignores uv.lock and resolves dependencies to the latest release at run time -- non-deterministic, and different from what the image ships (the Dockerfile already builds with 'uv sync --frozen --no-dev'). Switch the ruff and unittest jobs to 'uv sync --frozen --extra dev' + 'uv run' so CI uses the locked versions. Mirrors the controller change. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/test.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 768dcda..d171923 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,13 +18,11 @@ jobs: python-version: '3.13' - name: Install dependencies run: | - python -m venv venv - source venv/bin/activate - pip install ".[dev]" + pip install --break-system-packages uv + uv sync --frozen --extra dev - name: Run Ruff run: | - source venv/bin/activate - ruff check . + uv run ruff check . unittest: runs-on: ubuntu-latest @@ -36,13 +34,11 @@ jobs: python-version: '3.13' - name: Install dependencies run: | - python -m venv venv - source venv/bin/activate - pip install ".[dev]" + pip install --break-system-packages uv + uv sync --frozen --extra dev - name: Run Pytest env: CONFIG: tests/config.yml TEST_ENV: ${{ inputs.full && 'full' || 'sparse' }} run: | - source venv/bin/activate - pytest tests + uv run pytest tests