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 <noreply@anthropic.com>
This commit is contained in:
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user