mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Build/Test Tools: Run E2E tests with and without SCRIPT_DEBUG enabled.
This adds a matrix to the e2e test runs on GitHub Actions so the tests run both with and without `SCRIPT_DEBUG` enabled. This allows us to catch scenarios where the minified and non-minified files may differ. Props Clorith, joemcgill Fixes #58661 git-svn-id: https://develop.svn.wordpress.org/trunk@56113 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
6
.github/workflows/end-to-end-tests.yml
vendored
6
.github/workflows/end-to-end-tests.yml
vendored
@@ -56,6 +56,10 @@ jobs:
|
||||
contents: read
|
||||
timeout-minutes: 20
|
||||
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
LOCAL_SCRIPT_DEBUG: [ true, false ]
|
||||
|
||||
steps:
|
||||
- name: Configure environment variables
|
||||
@@ -105,6 +109,8 @@ jobs:
|
||||
docker-compose run --rm php locale -a
|
||||
|
||||
- name: Install WordPress
|
||||
env:
|
||||
LOCAL_SCRIPT_DEBUG: ${{ matrix.LOCAL_SCRIPT_DEBUG }}
|
||||
run: npm run env:install
|
||||
|
||||
- name: Run E2E tests
|
||||
|
||||
Reference in New Issue
Block a user