Build/Test Tools: Prepare Gutenberg once in 7.0 PHPUnit workflow - #12739
Build/Test Tools: Prepare Gutenberg once in 7.0 PHPUnit workflow#12739lancewillett wants to merge 3 commits into
Conversation
|
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 Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
Pull request overview
This PR backports the “prepare Gutenberg once per workflow run” pattern into the 7.0 PHPUnit GitHub Actions workflow to avoid re-downloading/re-verifying the Gutenberg build for each matrix job.
Changes:
- Adds a
prepare-gutenbergreusable-workflow job to download and verify the Gutenberg build once per run. - Makes all PHPUnit matrix jobs depend on
prepare-gutenbergand passgutenberg-artifact/gutenberg-shainto the reusable PHPUnit workflow.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merges [62859] and [62862] to the 7.0 branch. Developed in: #12739 Props adrianmoldovanwp, lucasbustamante. See #64393, #65721. git-svn-id: https://develop.svn.wordpress.org/branches/7.0@62873 602fd350-edb4-49c9-b593-d223f7449a82
Merges [62859] and [62862] to the 7.0 branch. Developed in: WordPress/wordpress-develop#12739 Props adrianmoldovanwp, lucasbustamante. See #64393, #65721. Built from https://develop.svn.wordpress.org/branches/7.0@62873 git-svn-id: http://core.svn.wordpress.org/branches/7.0@62151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
Landed in r62873 (https://core.trac.wordpress.org/changeset/62873). With the WPCS advisory exception (#12741) now on 7.0, the full PHPUnit matrix is green — 81/81 jobs, the Gutenberg build downloaded once and consumed as intended. Closing since the change is committed. Thanks all! |
Backports the "download and verify the Gutenberg build once per run" behavior from trunk to the
7.0branch, in part.Trac tickets: https://core.trac.wordpress.org/ticket/64393 and https://core.trac.wordpress.org/ticket/65721
Trunk changesets: https://core.trac.wordpress.org/changeset/62859 and https://core.trac.wordpress.org/changeset/62862
Validated with
actionlint