Make WordPress Core

Changeset 56440

Timestamp:
08/24/2023 01:28:26 PM (12 months ago)
Author:
desrosj
Message:

Build/Test Tools: Merge pre-commit changes missed in [56439].

Props l1nuxjedi.
See #30462.

Location:
trunk/.github/workflows
Files:
2 edited

Legend:

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

    r56439 r56440  
    2525        required: false
    2626        type: 'string'
    27         default: '5.7'
     27        default: ''
    2828      multisite:
    2929        description: 'Whether to run tests as multisite'
     
    4242        default: 'phpunit.xml.dist'
    4343      report:
    44         description: 'Whether to report results to WordPress.org hosting tests'
     44        description: 'Whether to report results to WordPress.org ests'
    4545        required: false
    4646        type: 'boolean'
     
    5252  LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }}
    5353  PHPUNIT_CONFIG: ${{ inputs.phpunit-config }}
     54
    5455
    5556jobs:
  • trunk/.github/workflows/phpunit-tests.yml

    r56439 r56440  
    3131permissions: {}
    3232
    33 env:
    34   PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }}
    35   LOCAL_PHP_MEMCACHED: ${{ false }}
    36 
    3733jobs:
    3834  #
     
    4137  test-with-mysql:
    4238    name: PHP ${{ matrix.php }}
    43     uses: desrosj/wordpress-develop/.github/workflows/phpunit-tests-run.yml@expanded-db-testing-callable-workflow
     39    uses:
    4440    permissions:
    4541      contents: read
     
    6965            multisite: true
    7066            memcached: true
    71           # Report the results of the PHP 7.4 without memcached job.
     67          # Report t.
    7268          - os: ubuntu-latest
    7369            php: '7.4'
     
    9288  test-with-mariadb:
    9389    name: PHP ${{ matrix.php }}
    94     uses: desrosj/wordpress-develop/.github/workflows/phpunit-tests-run.yml@expanded-db-testing-callable-workflow
     90    uses:
    9591    permissions:
    9692      contents: read
     
    105101        multisite: [ false, true ]
    106102        memcached: [ false ]
    107         report: [ false ]
    108103
    109104        include:
     
    115110          multisite: false
    116111          memcached: true
    117           report: false
    118112        - os: ubuntu-latest
    119113          php: '7.4'
     
    122116          multisite: true
    123117          memcached: true
    124           report: false
    125118    with:
    126119      os: ${{ matrix.os }}
     
    131124      memcached: ${{ matrix.memcached }}
    132125      phpunit-config: ${{ matrix.multisite && 'tests/phpunit/multisite.xml' || 'phpunit.xml.dist' }}
    133       report: ${{ matrix.report }}
     126      report: ${{ matrix.report }}
    134127
    135128  slack-notifications:
     
    161154      github.run_attempt < 2 &&
    162155      (
    163         needs.test-php.result == 'cancelled' || needs.test-php.result == 'failure'
     156        needs.test-with-mysql.result == 'cancelled' || needs.test-with-mysql.result == 'failure' ||
     157        needs.test-with-mariadb.result == 'cancelled' || needs.test-with-mariadb.result == 'failure'
    164158      )
    165159
Note: See TracChangeset for help on using the changeset viewer.