Use reachable Playwright mirror in Gitea CI
This commit is contained in:
@@ -163,6 +163,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
env:
|
||||
PIP_INDEX_URL: https://mirrors.aliyun.com/pypi/simple/
|
||||
PLAYWRIGHT_DOWNLOAD_HOST: https://registry.npmmirror.com/-/binary/playwright
|
||||
run: |
|
||||
set -euo pipefail
|
||||
python3 -m venv .venv
|
||||
|
||||
@@ -131,6 +131,7 @@ test("Gitea quality gate validates before publishing an immutable ACR manifest",
|
||||
assert.equal((workflow.match(/git status --porcelain --untracked-files=all/g) ?? []).length, 2);
|
||||
assert.match(workflow, /python3 -m venv \.venv/);
|
||||
assert.match(workflow, /PIP_INDEX_URL: https:\/\/mirrors\.aliyun\.com\/pypi\/simple\//);
|
||||
assert.match(workflow, /PLAYWRIGHT_DOWNLOAD_HOST: https:\/\/registry\.npmmirror\.com\/-\/binary\/playwright/);
|
||||
for (const constraint of [
|
||||
'mcp==1.28.1',
|
||||
'pydantic==2.13.4',
|
||||
|
||||
Reference in New Issue
Block a user