From 66bac1aa5f068f946008ebf148e3e7d245fba379 Mon Sep 17 00:00:00 2001 From: Manmohan Sharma Date: Thu, 16 Apr 2026 12:35:41 -0700 Subject: [PATCH] fix(ci): use astral-sh/setup-uv and --no-workspace for service tests Root pyproject.toml uses uv features (extra in sources, conflicts) that caused uv sync to fail in CI. Fix by: 1. Replace pip install uv==0.4.30 with astral-sh/setup-uv@v4 (latest) 2. Add --no-workspace flag so services don't inherit root config Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb59dc61..b1a5ab3b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,13 +88,13 @@ jobs: python-version: '3.12' - name: Install uv - run: pip install uv==0.4.30 + uses: astral-sh/setup-uv@v4 - name: Sync deps - run: uv sync + run: uv sync --no-workspace - name: Run pytest - run: uv run pytest + run: uv run --no-workspace pytest test-chat-api: name: Chat-API — pytest (postgres service) @@ -128,13 +128,13 @@ jobs: python-version: '3.12' - name: Install uv - run: pip install uv==0.4.30 + uses: astral-sh/setup-uv@v4 - name: Sync deps - run: uv sync + run: uv sync --no-workspace - name: Run pytest - run: uv run pytest + run: uv run --no-workspace pytest test-inference: name: Inference — pytest @@ -152,13 +152,13 @@ jobs: python-version: '3.12' - name: Install uv - run: pip install uv==0.4.30 + uses: astral-sh/setup-uv@v4 - name: Sync deps - run: uv sync + run: uv sync --no-workspace - name: Run pytest - run: uv run pytest + run: uv run --no-workspace pytest terraform-validate: name: Terraform — validate