ci: bound Playwright browser provisioning
Managed validation / full (pull_request) Failing after 1m22s

This commit is contained in:
Jens
2026-09-01 17:16:53 +02:00
parent ebdf3f4f91
commit f52a4ef3cf
+6 -2
View File
@@ -58,8 +58,12 @@ jobs:
export PATH="${UV_PROJECT_ENVIRONMENT}/bin:${PATH}"
if [[ "${profile}" == test || "${profile}" == full ]]; then
if "${managed_uv}" run python -c 'import pytest' 2>/dev/null; then
"${managed_uv}" run playwright install --with-deps chromium
"${managed_uv}" run python -m pytest
# Avoid an unbounded apt transaction here: it previously
# kept the job alive for more than an hour before any test
# had started. Missing runtime libraries still fail closed
# when the mandatory browser tests launch Chromium.
timeout --foreground 10m "${managed_uv}" run playwright install chromium
timeout --foreground 20m "${managed_uv}" run python -m pytest
fi
fi
if [[ "${profile}" == lint || "${profile}" == full ]]; then