-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wp-env: try to fix failing PHP Github actions #51513
Conversation
Size Change: 0 B Total Size: 1.4 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This unblocks the CI for now until something else comes along. Thanks @andrewserong 🙇
Flaky tests detected in b3a9d6b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5273874074
|
Thanks for reviewing @ramonjd! Now that this is merged to unblock |
Is it possible to release a patch for |
Ahhh that would make sense. @ObliviousHarmony, since the |
Great question. I'm not too sure how fixes get rolled out to npm packages (and I likely don't have access to it). I'll just ping @WordPress/gutenberg-core in case anyone knows or can help out there. |
I believe package releases routinely happen at the same time as Gutenberg plugin releases (usually every two weeks on a Wednesday). It looks like there's a process for an individual package bugfix release: I don't personally have any experience of it. |
* wp-env: try to fix failing php 8.2 github action * Add git
@Luehrsen, I just updated |
* wp-env: try to fix failing php 8.2 github action * Add git
What?
Try to fix failing PHP Github actions by attempting to resolve an error during
wp-env
setup.I noticed that the error claims that
/etc/apt/sources.list
does not exist. This is a naive PR, but I thought I'd try adding atouch
command to ensure the file exists. This is the error:After adding the
touch
command, I noticed that it was complaining thatgit
wasn't available, so I've added that in, too.Why?
Currently all PHP Github actions appear to be failing. This PR attempts to get them working again, in a naive way.
I'm not too sure the exact cause of the errors occurring, but it looks like the official WordPress docker images were recently updated (e.g. WordPress 8.2 image) and are now based on
debian:12-slim
. Debian 12 (bookworm) was released about five days ago, so I imagine it's connected to that.How?
touch
command to ensure that/etc/apt/sources.list
exists.git
as otherwise the composer command failed.Testing Instructions
See if PHP actions will pass.
Testing Instructions for Keyboard
Screenshots or screencast