ci: use domestic Python package mirror
CI / test (pull_request) Failing after 1m48s

This commit is contained in:
2026-08-08 23:23:49 +08:00
parent 672c3cf98b
commit 1f800d713f
3 changed files with 19 additions and 4 deletions
+5 -1
View File
@@ -43,7 +43,11 @@ jobs:
- name: 安装测试依赖
run: |
python3 -m venv .venv-ci
.venv-ci/bin/python -m pip install -r requirements-dev.txt
.venv-ci/bin/python -m pip install \
--index-url https://mirrors.aliyun.com/pypi/simple \
--timeout 120 \
--retries 5 \
-r requirements-dev.txt
- name: 检查迁移文件
working-directory: backend