Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Re-enable PHP Unit Tests for PHP 8.1 and 8.2 #9862

Closed
kmanijak opened this issue Jun 16, 2023 · 1 comment · Fixed by #9875
Closed

Re-enable PHP Unit Tests for PHP 8.1 and 8.2 #9862

kmanijak opened this issue Jun 16, 2023 · 1 comment · Fixed by #9875
Labels
priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. tool: monorepo infrastructure Pull requests that update GitHub Actions code.

Comments

@kmanijak
Copy link
Contributor

PHP Unit Tests jobs were failing on every PR. This is most likely due the official WordPress docker images being recently updated (e.g. WordPress 8.2 image) and are now based on debian:12-slim.

That change affected multiple repositories, Gutenberg included. The WordPress/gutenberg#51513 was provided to the @wordpress/env package that unblocks the pipelines for Gutenberg's trunk, but the change is not released yet, hence we cannot update wp-env and have no control over docker-image to apply the changes manually.

To unblock PRs and making pipeline passing the PHP Unit Tests for PHP 8.1 and 8.2 were disabled: #9859. Tests for 7.4 and 8.0 are still running.

The scope of this issue is to:

@kmanijak kmanijak added priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. tool: monorepo infrastructure Pull requests that update GitHub Actions code. labels Jun 16, 2023
@noahtallen
Copy link

You should be able to re-enable this again! I updated wp-env to v8.1.1 on npm today, which includes the fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. tool: monorepo infrastructure Pull requests that update GitHub Actions code.
Projects
None yet
3 participants