Skip to content
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

PHP 8.2 | GH Actions: start running the unit tests against PHP 8.2 #3119

Closed
wants to merge 1 commit into from

Commits on Aug 23, 2022

  1. PHP 8.2 | GH Actions: start running the unit tests against PHP 8.2

    Notes:
    * The `composer install` for PHP 8.1 was still using `--ignore-platform-reqs`, while that hasn't been needed anymore for quite a while, so I'm just re-using the condition for PHP 8.2 now.
    * I've also made the `--ignore-platform...` option used for the install more specific.
        Composer 2.0 added a `--ignore-platform-req=...` option to selectively ignore platform requirements.
        Composer 2.2 then added the ability to only ignore the upper bound of platform requirements by adding the `+` sign.
    * As discussed for PHP 8.1, builds against PHP 8.2 will still be allowed to fail (and will fail, not just due to new PHP 8.2 issues, but also due to unsolved PHP 8.1 issues). Allowing those builds to fail prevents merges in the Gutenberg project becoming blocked.
    * As for the Xdebug related tests: those will not be run on PHP 8.2 yet as the Docker image for PHP 8.2 does not contain Xdebug yet. Once a stable release of Xdebug 3.2.0 is available, it can be added to the Docker image and the test step can then be enabled for PHP 8.2.
    
    Refs:
    * WordPress/wpdev-docker-images#87
    * https://github.com/composer/composer/releases/tag/2.0.0
    * https://github.com/composer/composer/releases/tag/2.2.0
    * https://xdebug.org/announcements/2022-07-20
    * https://xdebug.org/announcements/2022-07-25
    jrfnl committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    616a2c8 View commit details
    Browse the repository at this point in the history