Changeset 59528
- Timestamp:
- 12/17/2024 04:38:07 PM (5 months ago)
- Location:
- trunk/.github/workflows
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/phpunit-tests.yml
r59490 r59528 155 155 report: ${{ matrix.report || false }} 156 156 157 # 158 # Runs specific individual test groups. 159 # 160 specific-test-groups: 161 name: ${{ matrix.phpunit-test-groups }} 162 uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk 163 permissions: 164 contents: read 165 secrets: inherit 166 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 167 strategy: 168 fail-fast: false 169 matrix: 170 php: [ '7.2', '7.4', '8.0', '8.4' ] 171 db-type: [ 'mysql' ] 172 db-version: [ '8.4' ] 173 phpunit-test-groups: [ 'html-api-html5lib-tests' ] 174 with: 175 php: ${{ matrix.php }} 176 db-type: ${{ matrix.db-type }} 177 db-version: ${{ matrix.db-version }} 178 phpunit-test-groups: ${{ matrix.phpunit-test-groups }} 179 157 180 slack-notifications: 158 181 name: Slack Notifications … … 161 184 actions: read 162 185 contents: read 163 needs: [ test-with-mysql, test-with-mariadb ]186 needs: [ test-with-mysql, test-with-mariadb, specific-test-groups ] 164 187 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} 165 188 with: -
trunk/.github/workflows/reusable-phpunit-tests-v3.yml
r59527 r59528 106 106 # - Submit the test results to the WordPress.org host test results. 107 107 phpunit-tests: 108 name: PHP ${{ inputs.php }} ${{ ! inputs.coverage-report && '/ ' || 'with ' }}${{ 'mariadb' == inputs.db-type && 'MariaDB' || 'MySQL' }} ${{ inputs.db-version }}${{ inputs.multisite && ' multisite' || '' }}${{ inputs.phpunit-test-groups && format( ' ({0})', inputs.phpunit-test-groups )|| '' }}${{ inputs.memcached && ' with memcached' || '' }}${{ inputs.report && ' (test reporting enabled)' || '' }} ${{ 'example.org' != inputs.tests-domain && inputs.tests-domain || '' }}108 name: ${{ inputs.phpunit-test-groups && format( '{0} / ', inputs.phpunit-test-groups ) || '' }}PHP ${{ inputs.php }} ${{ ! inputs.phpunit-test-groups && ! inputs.coverage-report && '/ ' || 'with ' }}${{ 'mariadb' == inputs.db-type && 'MariaDB' || 'MySQL' }} ${{ inputs.db-version }}${{ inputs.multisite && ' multisite' || '' }}${{ inputs.memcached && ' with memcached' || '' }}${{ inputs.report && ' (test reporting enabled)' || '' }} ${{ 'example.org' != inputs.tests-domain && inputs.tests-domain || '' }} 109 109 runs-on: ${{ inputs.os }} 110 110 timeout-minutes: ${{ inputs.coverage-report && 120 || 20 }}
Note: See TracChangeset
for help on using the changeset viewer.