ci(hermes): install WebUI voice test tools
This commit is contained in:
parent
9aed543dd3
commit
817c7cebe0
@ -170,6 +170,12 @@ spec:
|
|||||||
container('python') {
|
container('python') {
|
||||||
sh '''
|
sh '''
|
||||||
set -eu
|
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 \
|
python3 -m pip install --disable-pip-version-check --no-cache-dir \
|
||||||
--target=/tmp/hermes-webui-release-test-deps \
|
--target=/tmp/hermes-webui-release-test-deps \
|
||||||
pytest==8.3.4 PyYAML==6.0.2
|
pytest==8.3.4 PyYAML==6.0.2
|
||||||
|
|||||||
@ -122,6 +122,12 @@ def test_pipeline_builds_exact_reviewed_anchor_from_main() -> None:
|
|||||||
"test_hermes_voice_language_routing.py",
|
"test_hermes_voice_language_routing.py",
|
||||||
):
|
):
|
||||||
assert voice_suite in source
|
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"):
|
for forbidden in ("kubectl ", "flux reconcile", "git push", "git commit"):
|
||||||
assert forbidden not in source
|
assert forbidden not in source
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user