Make WordPress Core

Changeset 56113


Ignore:
Timestamp:
06/29/2023 11:01:48 PM (20 months ago)
Author:
johnbillion
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/end-to-end-tests.yml

    r55991 r56113  
    5757    timeout-minutes: 20
    5858    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
     59    strategy:
     60      fail-fast: false
     61      matrix:
     62        LOCAL_SCRIPT_DEBUG: [ true, false ]
    5963
    6064    steps:
     
    106110
    107111      - name: Install WordPress
     112        env:
     113          LOCAL_SCRIPT_DEBUG: ${{ matrix.LOCAL_SCRIPT_DEBUG }}
    108114        run: npm run env:install
    109115
Note: See TracChangeset for help on using the changeset viewer.