mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Build/Test Tools: Reinstate PUPPETEER_SKIP_DOWNLOAD
for most CI workflows.
The `PUPPETEER_SKIP_DOWNLOAD` environment variable is used to prevent Puppeteer from automatically downloading browser binaries. It was removed in [56926] due to the migration to Playwright. However, because of the QUnit tests, Puppeteer is actually still a dependency. Until those tests change, we have to keep this environment variable to prevent unnecessary downloads on CI. Props SergeyBiryukov. Fixes #59517. git-svn-id: https://develop.svn.wordpress.org/trunk@56954 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c9ddecbf09
commit
f95ddbcee5
2
.github/workflows/coding-standards.yml
vendored
2
.github/workflows/coding-standards.yml
vendored
@ -142,6 +142,8 @@ jobs:
|
||||
contents: read
|
||||
timeout-minutes: 20
|
||||
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
|
||||
env:
|
||||
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
1
.github/workflows/end-to-end-tests.yml
vendored
1
.github/workflows/end-to-end-tests.yml
vendored
@ -32,6 +32,7 @@ permissions: {}
|
||||
|
||||
env:
|
||||
LOCAL_DIR: build
|
||||
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
|
||||
|
||||
jobs:
|
||||
# Runs the end-to-end test suite.
|
||||
|
2
.github/workflows/performance.yml
vendored
2
.github/workflows/performance.yml
vendored
@ -30,6 +30,8 @@ concurrency:
|
||||
permissions: {}
|
||||
|
||||
env:
|
||||
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
|
||||
|
||||
# Performance testing should be performed in an environment reflecting a standard production environment.
|
||||
LOCAL_WP_DEBUG: false
|
||||
LOCAL_SCRIPT_DEBUG: false
|
||||
|
1
.github/workflows/phpunit-tests-run.yml
vendored
1
.github/workflows/phpunit-tests-run.yml
vendored
@ -51,6 +51,7 @@ env:
|
||||
LOCAL_DB_VERSION: ${{ inputs.db-version }}
|
||||
LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }}
|
||||
PHPUNIT_CONFIG: ${{ inputs.phpunit-config }}
|
||||
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
|
||||
|
||||
jobs:
|
||||
# Runs the PHPUnit tests for WordPress.
|
||||
|
1
.github/workflows/test-coverage.yml
vendored
1
.github/workflows/test-coverage.yml
vendored
@ -33,6 +33,7 @@ env:
|
||||
LOCAL_PHP_XDEBUG: true
|
||||
LOCAL_PHP_XDEBUG_MODE: 'coverage'
|
||||
LOCAL_PHP_MEMCACHED: ${{ false }}
|
||||
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
|
||||
|
||||
jobs:
|
||||
# Runs the PHPUnit tests for WordPress.
|
||||
|
3
.github/workflows/test-npm.yml
vendored
3
.github/workflows/test-npm.yml
vendored
@ -37,6 +37,9 @@ concurrency:
|
||||
# Any needed permissions should be configured at the job level.
|
||||
permissions: {}
|
||||
|
||||
env:
|
||||
PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
|
||||
|
||||
jobs:
|
||||
# Verifies that installing npm dependencies and building WordPress works as expected.
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user