Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/local-docker-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ jobs:
- db-version: '9.5'
- db-version: '9.6'
- db-version: '26.7'
# No PHP 8.5 + Memcached support yet.
- php: '8.5'
# No PHP 8.6 + Memcached support yet.
- php: '8.6'
memcached: true

with:
Expand Down
58 changes: 10 additions & 48 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-24.04 ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6' ]
db-type: [ 'mysql' ]
db-version: [ '5.7', '8.0', '8.4', '9.7' ]
tests-domain: [ 'example.org' ]
Expand All @@ -234,6 +234,8 @@ jobs:
php: '8.3'
- full-matrix: false
php: '8.4'
- full-matrix: false
php: '8.5'
# Outside the full matrix, MySQL 5.7 compatibility and the widely used 8.x releases are tested.
- full-matrix: false
db-version: '9.7'
Expand Down Expand Up @@ -323,7 +325,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-24.04 ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6' ]
db-type: [ 'mariadb' ]
db-version: [ '5.5', '10.3', '10.5', '10.6', '10.11', '11.4', '11.8', '12.3' ]
multisite: [ false, true ]
Expand All @@ -343,6 +345,8 @@ jobs:
php: '8.3'
- full-matrix: false
php: '8.4'
- full-matrix: false
php: '8.5'
# Outside the full matrix, MariaDB 5.5 compatibility, 10.6, and newer LTS releases are tested.
- full-matrix: false
db-version: '10.3'
Expand Down Expand Up @@ -408,7 +412,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-24.04 ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6' ]
db-type: [ 'mysql', 'mariadb' ]
db-version: [ '26.10', '13.0' ]
multisite: [ false, true ]
Expand All @@ -434,6 +438,8 @@ jobs:
php: '8.3'
- full-matrix: false
php: '8.4'
- full-matrix: false
php: '8.5'
with:
os: ${{ matrix.os }}
php: ${{ matrix.php }}
Expand Down Expand Up @@ -564,57 +570,13 @@ jobs:
gutenberg-artifact: ${{ needs.prepare-gutenberg.result != 'skipped' }}
gutenberg-sha: ${{ needs.prepare-gutenberg.outputs.gutenberg-sha }}

# Runs the PHPUnit test suite with PHP 8.6.
#
# The number of testing combinations is intentionally limited because PHP 8.6 is still in beta/RC.
pre-release-php-8-6:
name: PHP ${{ matrix.php }}
uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
needs: [ select-test-coverage, prepare-gutenberg ]
permissions:
contents: read
if: |
needs.select-test-coverage.outputs.assets-only != 'true' &&
startsWith( github.repository, 'WordPress/' ) && (
github.repository == 'WordPress/wordpress-develop' || (
github.event_name == 'pull_request' && (
! github.event.repository.private ||
! github.event.pull_request.draft ||
contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' )
)
)
)
strategy:
fail-fast: false
matrix:
php: [ '8.6' ]
db-version: [ '9.7', '12.3' ]
db-type: [ 'mysql', 'mariadb' ]
multisite: [ true, false ]

exclude:
- db-type: 'mysql'
db-version: '12.3'
- db-type: 'mariadb'
db-version: '9.7'

with:
php: ${{ matrix.php }}
db-version: ${{ matrix.db-version }}
db-type: ${{ matrix.db-type }}
multisite: ${{ matrix.multisite }}
phpunit-config: ${{ matrix.multisite && 'tests/phpunit/multisite.xml' || 'phpunit.xml.dist' }}
allow-errors: true
gutenberg-artifact: ${{ needs.prepare-gutenberg.result != 'skipped' }}
gutenberg-sha: ${{ needs.prepare-gutenberg.outputs.gutenberg-sha }}

slack-notifications:
name: Slack Notifications
uses: ./.github/workflows/slack-notifications.yml
permissions:
actions: read
contents: read
needs: [ select-test-coverage, prepare-gutenberg, test-assets, test-with-mysql, test-with-mariadb, test-innovation-releases, html-api-test-groups, limited-matrix-for-forks, pre-release-php-8-6 ]
needs: [ select-test-coverage, prepare-gutenberg, test-assets, test-with-mysql, test-with-mariadb, test-innovation-releases, html-api-test-groups, limited-matrix-for-forks ]
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
with:
calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }}
Expand Down
3 changes: 2 additions & 1 deletion .version-support-php.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"8.2",
"8.3",
"8.4",
"8.5"
"8.5",
"8.6"
],
"7-1": [
"7.4",
Expand Down
Loading