ci: provision required Playwright browser gate
Managed validation / full (pull_request) Failing after 1h14m10s
Managed validation / full (pull_request) Failing after 1h14m10s
This commit is contained in:
@@ -54,10 +54,11 @@ jobs:
|
||||
"${uv_python}" -m pip install --disable-pip-version-check uv==0.10.0
|
||||
managed_uv="${RUNNER_TEMP}/managed-uv/bin/uv"
|
||||
export UV_PROJECT_ENVIRONMENT="${RUNNER_TEMP}/managed-project-venv"
|
||||
"${managed_uv}" sync --locked
|
||||
"${managed_uv}" sync --locked --extra browser
|
||||
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
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user