Skip unused Playwright setup in Gitea CI
This commit is contained in:
@@ -131,7 +131,6 @@ 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/);
|
||||
assert.match(workflow, /NPM_CONFIG_REGISTRY: https:\/\/registry\.npmmirror\.com/);
|
||||
for (const constraint of [
|
||||
'mcp==1.28.1',
|
||||
@@ -142,7 +141,7 @@ test("Gitea quality gate validates before publishing an immutable ACR manifest",
|
||||
]) {
|
||||
assert.match(workflow, new RegExp(`"${constraint.replaceAll(".", "\\.")}"`));
|
||||
}
|
||||
assert.match(workflow, /python -m playwright install --with-deps chromium/);
|
||||
assert.doesNotMatch(workflow, /playwright install|requirements-dev\.txt playwright/);
|
||||
assert.equal((workflow.match(/Acquire::https::Timeout=30 update/g) ?? []).length, 1);
|
||||
assert.match(workflow, /packages\+=\(docker-compose-v2\)/);
|
||||
assert.match(workflow, /python3 -m venv "\$venv_probe\/venv"/);
|
||||
|
||||
Reference in New Issue
Block a user