[moz] fix(ci): pip install 加 no_proxy=* 绕过系统代理白名单
CI / lint (pull_request) Successful in 18s
CI / test (pull_request) Successful in 13m40s
CI / frontend (pull_request) Successful in 15s
CI / notify-on-failure (pull_request) Successful in 0s

CI runner 继承了系统 Wi-Fi 代理(127.0.0.1:7890),代理是白名单机制,
pip install 走代理被拒绝。加 env no_proxy=* 让 pip 直连。
This commit is contained in:
cfdaily
2026-06-20 07:44:37 +08:00
parent 3a11327113
commit f4fea8f418
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -25,6 +25,8 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Python
env:
no_proxy: "*"
run: |
rm -rf /tmp/ci-venv-lint
python3 -m venv /tmp/ci-venv-lint
@@ -43,6 +45,8 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Python
env:
no_proxy: "*"
run: |
rm -rf /tmp/ci-venv-test
python3 -m venv /tmp/ci-venv-test
+2
View File
@@ -22,6 +22,8 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Python
env:
no_proxy: "*"
run: |
python3 -m venv /tmp/ci-venv-deploy
/tmp/ci-venv-deploy/bin/pip install --quiet flake8 fastapi pydantic pyyaml uvicorn requests pytest pytest-asyncio httpx