ci(hermes): install WebUI voice test tools

This commit is contained in:
jenkins 2026-08-23 23:04:21 -03:00
parent 9aed543dd3
commit 817c7cebe0
2 changed files with 12 additions and 0 deletions

View File

@ -170,6 +170,12 @@ spec:
container('python') {
sh '''
set -eu
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y --no-install-recommends ffmpeg nodejs
rm -rf /var/lib/apt/lists/*
command -v ffmpeg >/dev/null
command -v node >/dev/null
python3 -m pip install --disable-pip-version-check --no-cache-dir \
--target=/tmp/hermes-webui-release-test-deps \
pytest==8.3.4 PyYAML==6.0.2

View File

@ -122,6 +122,12 @@ def test_pipeline_builds_exact_reviewed_anchor_from_main() -> None:
"test_hermes_voice_language_routing.py",
):
assert voice_suite in source
assert "apt-get install -y --no-install-recommends ffmpeg nodejs" in source
assert "command -v ffmpeg >/dev/null" in source
assert "command -v node >/dev/null" in source
assert source.index("apt-get install -y --no-install-recommends ffmpeg nodejs") < (
source.index("python3 -m pytest -q")
)
for forbidden in ("kubectl ", "flux reconcile", "git push", "git commit"):
assert forbidden not in source