Skip to content

Build/Test Tools: Trim the PHPUnit matrix to boundary PHP versions in the 6.8 branch - #12726

Open
lancewillett wants to merge 1 commit into
WordPress:6.8from
lancewillett:trim-6.8-phpunit-matrix
Open

Build/Test Tools: Trim the PHPUnit matrix to boundary PHP versions in the 6.8 branch#12726
lancewillett wants to merge 1 commit into
WordPress:6.8from
lancewillett:trim-6.8-phpunit-matrix

Conversation

@lancewillett

@lancewillett lancewillett commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

The 6.8 PHPUnit matrix runs the full PHP axis (7.28.4) across three job groups (about 198 matrix jobs), while trunk (#12719) and 7.0 (#12720) were trimmed to boundary versions. During a security release dry-run I noticed several branches run at once, and their summed matrices approach the GitHub Actions concurrency ceiling. 6.8's full matrix is the single largest contributor.

This trims the PHP axis to the highest and lowest of each major (7.2, 7.4, 8.0, 8.4), matching trunk and 7.0, and drops 6.8 from ~198 to ~99 jobs. The intermediate versions still run on trunk and the weekly scheduled full matrix, so coverage holds.

Follows the boundary-trim approach from #64083, extended to the current branches in #65736.

Verified with actionlint locally (it also flagged a now-orphaned exclude entry for PHP 7.3, removed here).

… the 6.8 branch.

The 6.8 PHPUnit matrix runs the full PHP axis (7.2 through 8.4) across three job groups, about 198 matrix jobs, while trunk and 7.0 were trimmed to boundary versions. During a security release several branches run at once, and 6.8's full matrix is the single largest contributor to the concurrent-job peak. Trim the PHP axis to the highest and lowest of each major (7.2, 7.4, 8.0, 8.4), matching trunk and 7.0. The intermediate versions still run on trunk and the weekly scheduled full matrix, so coverage holds.

See #65736, see #64083.
Props lance.willett@automattic.com.
@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props lancewillett.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

pento pushed a commit that referenced this pull request Jul 28, 2026
… the 6.8 branch.

The 6.8 PHPUnit matrix runs the full PHP axis (7.2 through 8.4) across three job groups, about 198 matrix jobs, while trunk and 7.0 were trimmed to boundary versions. During a security release several branches run at once, and 6.8's full matrix is the single largest contributor to the concurrent-job peak. Trim the PHP axis to the highest and lowest of each major (7.2, 7.4, 8.0, 8.4), matching trunk and 7.0. The intermediate versions still run on trunk and the weekly scheduled full matrix, so coverage holds.

Developed in: #12726

See #65736, see #64083


git-svn-id: https://develop.svn.wordpress.org/branches/6.8@62863 602fd350-edb4-49c9-b593-d223f7449a82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant