From e36dab1aee93b6e9b86150475370dc24ed7e17db Mon Sep 17 00:00:00 2001 From: OG T Date: Wed, 25 Mar 2026 12:30:58 +0800 Subject: [PATCH] fix(ci): add Python and uv setup to Ollama test job The self-hosted runner doesn't have uv pre-installed. Add setup-python and setup-uv steps before running pytest. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/ci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6068a4ec..9f29acc3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -255,6 +255,14 @@ jobs: echo "⚠️ 模型回應異常" fi + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} + + - name: Install uv + uses: astral-sh/setup-uv@v3 + - name: Action Parsing Test working-directory: apps/api env: