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

GHA/reusable-testing: start running the tests against PHP 8.3 #68

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Aug 28, 2023

PHP 8.3 is nearing the RC phase. As WP-CLI is used in the build processes of plenty of other WP packages, I believe it would be beneficial to start supporting PHP 8.3 officially sooner rather than later.

This commit adds PHP 8.3 to the build matrix to start running the tests against PHP 8.3.

Note: I'm not sure how to test the workflow as things are, so I hope I've done it correctly. I've also opened a PR in the Behat repo to start running their tests against PHP 8.3 (Behat/Behat#1440) and their build currently passes, so I expect that the tooling used should all work on PHP 8.3.

Having said that, whether PHP 8.3 can be supported without any fixes will need to be evaluated individually for each WP-CLI repo, so for now, I've added a continue-on-error for PHP 8.3 to be on the safe side.

PHP 8.3 is nearing the RC phase. As WP-CLI is used in the build processes of plenty of other WP packages, I believe it would be beneficial to start supporting PHP 8.3 officially sooner rather than later.

This commit adds PHP 8.3 to the build matrix to start running the tests against PHP 8.3.

Note: I'm not sure how to test the workflow as things are, so I hope I've done it correctly.
I've also opened a PR in the Behat repo to start running their tests against PHP 8.3 (Behat/Behat 1440) and their build currently passes, so I expect that the tooling used should all work on PHP 8.3.

Having said that, whether PHP 8.3 can be supported without any fixes will need to be evaluated individually for each WP-CLI repo, so for now, I've added a `continue-on-error` for PHP 8.3 to be on the safe side.
@jrfnl jrfnl requested a review from a team as a code owner August 28, 2023 15:48
@swissspidy swissspidy merged commit d9edbd1 into wp-cli:main Aug 28, 2023
30 checks passed
@jrfnl jrfnl deleted the feature/workflows-add-php-8.3 branch August 28, 2023 16:06
@danielbachhuber
Copy link
Member

Thanks @jrfnl !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants