ci: stabilize release dependency install
Staging Backend Quality Gate / validate (push) Successful in 12m45s
Staging Backend Quality Gate / publish (push) Successful in 8m43s

This commit is contained in:
Jesse_Chen
2026-08-10 00:56:40 +08:00
parent ac0b218c90
commit 417417835a
2 changed files with 20 additions and 1 deletions
@@ -885,6 +885,17 @@ test("manual release gate runs where Docker Compose v2 is available", () => {
assert.match(workflow, /^on:\n\s+workflow_dispatch:/m);
assert.match(workflow, /runs-on: manman-linux/);
assert.match(workflow, /docker compose version --short \| grep -Eq '\^v\?2\\\.'/);
assert.match(workflow, /PIP_INDEX_URL: https:\/\/mirrors\.aliyun\.com\/pypi\/simple\//);
assert.match(workflow, /NPM_CONFIG_REGISTRY: https:\/\/registry\.npmmirror\.com/);
for (const dependency of [
"mcp==1.28.1",
"pydantic==2.13.4",
"numpy==2.5.1",
"pandas==2.3.3",
"timezonefinder==8.2.5",
]) {
assert.match(workflow, new RegExp(dependency.replace(".", "\\.")));
}
});
test("production deploy is manual-only and consumes the accepted staging artifact", () => {