Skip to content

Build/Test Tools: Prepare Gutenberg once in 7.0 PHPUnit workflow - #12739

Closed
lancewillett wants to merge 3 commits into
WordPress:7.0from
lancewillett:backport/download-once-7.0
Closed

Build/Test Tools: Prepare Gutenberg once in 7.0 PHPUnit workflow#12739
lancewillett wants to merge 3 commits into
WordPress:7.0from
lancewillett:backport/download-once-7.0

Conversation

@lancewillett

@lancewillett lancewillett commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Backports the "download and verify the Gutenberg build once per run" behavior from trunk to the 7.0 branch, 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

@lancewillett
lancewillett requested a review from aaronjorbin July 28, 2026 16:28
@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.

Comment thread .github/workflows/phpunit-tests.yml Fixed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-gutenberg reusable-workflow job to download and verify the Gutenberg build once per run.
  • Makes all PHPUnit matrix jobs depend on prepare-gutenberg and pass gutenberg-artifact / gutenberg-sha into the reusable PHPUnit workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/phpunit-tests.yml
pento pushed a commit that referenced this pull request Jul 28, 2026
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
markjaquith pushed a commit to markjaquith/WordPress that referenced this pull request Jul 28, 2026
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
@lancewillett
lancewillett requested a review from johnbillion July 28, 2026 19:26
@lancewillett

Copy link
Copy Markdown
Contributor Author

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!

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.

3 participants