Make WordPress Core

Changeset 62974


Ignore:
Timestamp:
08/03/2026 04:56:56 PM (2 months ago)
Author:
desrosj
Message:

Build/Test Tools: Make runner override variable more general.

[62891] introduced the ability to override the runner used for a GitHub Actions job using a repository or organization variable. While initially named PHPUNIT_RUNNER, overriding the runner for a specific job could be useful in more situations.

This renames the variable chacked to RUNNER_GROUP.

Fixes #65749.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/reusable-phpunit-tests-v3.yml

    r62891 r62974  
    130130  phpunit-tests:
    131131    name: ${{ ( inputs.phpunit-test-groups || inputs.coverage-report ) && format( 'PHP {0} with ', inputs.php ) || '' }} ${{ 'mariadb' == inputs.db-type && 'MariaDB' || 'MySQL' }} ${{ inputs.db-version }}${{ inputs.multisite && ' multisite' || '' }}${{ inputs.db-innovation && ' (innovation release)' || '' }}${{ inputs.memcached && ' with memcached' || '' }}${{ inputs.report && ' (test reporting enabled)' || '' }} ${{ 'example.org' != inputs.tests-domain && inputs.tests-domain || '' }}
    132     runs-on: ${{ vars.PHPUNIT_RUNNER || inputs.os }}
     132    runs-on: ${{ vars.RUNNER_GROUP || inputs.os }}
    133133    timeout-minutes: ${{ inputs.coverage-report && 120 || inputs.php == '8.4' && 30 || 20 }}
    134134    permissions:
Note: See TracChangeset for help on using the changeset viewer.