首轮 CI 在 Ubuntu 系统依赖下载和配置阶段超时。临时 CI 容器通过隔离的 APT 镜像配置完成安装并通过 Chromium DOM 冒烟。
This commit is contained in:
@@ -34,9 +34,7 @@ tests-e2e:
|
||||
# The hosted CI job container is disposable and starts without Chromium's system libraries.
|
||||
tests-e2e-ci: export PLAYWRIGHT_BROWSERS_PATH ?= /opt/citools-cache/playwright
|
||||
tests-e2e-ci:
|
||||
@test -f /.dockerenv || { printf '%s\n' 'tests-e2e-ci requires the disposable CI container. Use make tests-e2e here.' >&2; exit 1; }
|
||||
DEBIAN_FRONTEND=noninteractive PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT=90000 \
|
||||
timeout 360s npm --prefix web exec -- playwright install --with-deps --only-shell chromium
|
||||
sh scripts/ci_install_chromium.sh
|
||||
$(MAKE) tests-e2e
|
||||
test-changed:
|
||||
$(PY) scripts/test_changed.py
|
||||
|
||||
Reference in New Issue
Block a user