Diagnosing playwright CI step
This commit is contained in:
@@ -25,12 +25,24 @@ jobs:
|
|||||||
npm ci
|
npm ci
|
||||||
npm run validate
|
npm run validate
|
||||||
|
|
||||||
|
- name: Diagnostiquer le téléchargement Chromium
|
||||||
|
timeout-minutes: 4
|
||||||
|
run: |
|
||||||
|
set -eu
|
||||||
|
curl --fail --location \
|
||||||
|
--connect-timeout 15 \
|
||||||
|
--max-time 180 \
|
||||||
|
--output /dev/null \
|
||||||
|
--write-out '\nHTTP=%{http_code} destination=%{url_effective}\n' \
|
||||||
|
'https://cdn.playwright.dev/builds/cft/156.0.8078.4/linux64/chrome-headless-shell-linux64.zip'
|
||||||
|
|
||||||
- name: Installer Chromium pour les tests
|
- name: Installer Chromium pour les tests
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
env:
|
env:
|
||||||
CI: "true"
|
CI: "true"
|
||||||
# Allow slow CDN connections; Playwright keeps its built-in retries.
|
# Allow slow CDN connections; Playwright keeps its built-in retries.
|
||||||
PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT: "180000"
|
PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT: "180000"
|
||||||
|
DEBUG: "pw:install"
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
npx playwright install --with-deps --only-shell chromium
|
npx playwright install --with-deps --only-shell chromium
|
||||||
|
|||||||
Reference in New Issue
Block a user