Make WordPress Core

Changeset 59281


Ignore:
Timestamp:
10/23/2024 01:28:44 AM (9 months ago)
Author:
desrosj
Message:

Build/Test Tools: Split up upgrade test matrix.

GitHub Actions caps the number of jobs that can be spawned from a single matrix at 256.

The changes in [59280] pushed the WordPress 6.x job over this limit. This splits that matrix into two following established pattern for older branches in the workflow.

See #61218, #62221.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/upgrade-testing.yml

    r59280 r59281  
    3333
    3434jobs:
    35   # Spawns upgrade testing from WordPress 6.x versions with MySQL.
    36   upgrade-tests-wp-6x-mysql:
     35  # Spawns upgrade testing from WordPress 6.x versions on PHP 8.x with MySQL.
     36  upgrade-tests-wp-6x-php-8x-mysql:
    3737    name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }}
    3838    uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk
     
    4444      matrix:
    4545        os: [ 'ubuntu-latest' ]
    46         php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
     46        php: [ '8.0', '8.1', '8.2', '8.3', '8.4' ]
     47        db-type: [ 'mysql' ]
     48        db-version: [ '5.7', '8.0', '8.4' ]
     49        wp: [ '6.0', '6.1', '6.2', '6.3', '6.4', '6.5', '6.6', '6.7-RC1' ]
     50        multisite: [ false, true ]
     51
     52    with:
     53      os: ${{ matrix.os }}
     54      php: ${{ matrix.php }}
     55      db-type: ${{ matrix.db-type }}
     56      db-version: ${{ matrix.db-version }}
     57      wp: ${{ matrix.wp }}
     58      new-version: ${{ inputs.new-version && inputs.new-version || 'latest' }}
     59      multisite: ${{ matrix.multisite }}
     60
     61  # Spawns upgrade testing from WordPress 6.x versions on PHP 7.x with MySQL.
     62  upgrade-tests-wp-6x-php-7x-mysql:
     63    name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }}
     64    uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk
     65    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
     66    permissions:
     67      contents: read
     68    strategy:
     69      fail-fast: false
     70      matrix:
     71        os: [ 'ubuntu-latest' ]
     72        php: [ '7.2', '7.3', '7.4' ]
    4773        db-type: [ 'mysql' ]
    4874        db-version: [ '5.7', '8.0', '8.4' ]
     
    182208      actions: read
    183209      contents: read
    184     needs: [ upgrade-tests-wp-6x-mysql, upgrade-tests-wp-5x-php-7x-mysql, upgrade-tests-wp-5x-php-8x-mysql, upgrade-tests-wp-4x-php-7x-mysql, upgrade-tests-wp-4x-php-8x-mysql ]
     210    needs: [ upgrade-tests-wp-6x-php-8x-mysql, upgrade-tests-wp-6x-php-7x-mysql, upgrade-tests-wp-5x-php-7x-mysql, upgrade-tests-wp-5x-php-8x-mysql, upgrade-tests-wp-4x-php-7x-mysql, upgrade-tests-wp-4x-php-8x-mysql ]
    185211    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
    186212    with:
Note: See TracChangeset for help on using the changeset viewer.