Install Python headers for Gitea CI
This commit is contained in:
@@ -145,6 +145,7 @@ test("Gitea quality gate validates before publishing an immutable ACR manifest",
|
||||
assert.match(workflow, /packages\+=\(docker-compose-v2\)/);
|
||||
assert.match(workflow, /python3 -m venv "\$venv_probe\/venv"/);
|
||||
assert.match(workflow, /packages\+=\(python3-venv\)/);
|
||||
assert.match(workflow, /sysconfig\.get_path\("include"\)[\s\S]*packages\+=\(python3-dev\)/);
|
||||
assert.match(workflow, /apt-get install -y --no-install-recommends[\s\S]*"\$\{packages\[@\]\}"/);
|
||||
assert.doesNotMatch(workflow, /packages\+=\((?:nodejs|npm)\)|apt-get install[^\n]*(?:nodejs|npm)/);
|
||||
assert.equal((workflow.match(/NODE_TOOL_SOURCE_IMAGE: swr\.cn-north-4\.myhuaweicloud\.com\/ddn-k8s\/docker\.io\/library\/node:22-bookworm-slim@sha256:ef343465b6a14bbdf2ab52f6e100ec0659a792464fcf72c462370d88b3df909c/g) ?? []).length, 2);
|
||||
|
||||
Reference in New Issue
Block a user