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 unit test workflow: Try removing 7.0 and 7.1 #60686

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

andrewserong
Copy link
Contributor

What?

Try removing PHP 7.0 and PHP 7.1 from the suite of PHP unit tests in the Github workflow.

Why?

As of WordPress/wordpress-develop@d952352 WordPress 6.6 will no longer support PHP 7.0 and 7.1. As a result, the PHP unit tests workflow is currently failing with the following error:

image

Your server is running PHP version 7.0.33 but WordPress 6.6-alpha-57985 requires at least 7.2.24.

Since our tests appear to run WordPress trunk, in order to get them passing again, I think we should try removing PHP 7.0 + 7.1 from this list. If it's desirable to retain those workflows, then we'd need to get them working again but run a version of WordPress < 6.6 in order for them to pass.

How?

Remove PHP 7.0 and 7.1 from the list of PHP versions in the PHP workflow

Testing Instructions

See if the PHP workflow passes now.

@andrewserong andrewserong added [Type] Code Quality Issues or PRs that relate to code quality GitHub Actions Pull requests that update GitHub Actions code labels Apr 12, 2024
@andrewserong andrewserong self-assigned this Apr 12, 2024
@andrewserong andrewserong requested a review from desrosj as a code owner April 12, 2024 00:01
Copy link

github-actions bot commented Apr 12, 2024

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.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: andrewserong <[email protected]>
Co-authored-by: ramonjd <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copy link
Member

@ramonjd ramonjd left a comment

Choose a reason for hiding this comment

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

LGTM - if tests pass 😄

Thanks for the quick PR

@andrewserong andrewserong added [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. and removed [Type] Code Quality Issues or PRs that relate to code quality labels Apr 12, 2024
@andrewserong andrewserong enabled auto-merge (squash) April 12, 2024 00:10
@andrewserong andrewserong merged commit 73ee882 into trunk Apr 12, 2024
68 checks passed
@andrewserong andrewserong deleted the update/php-tests-to-remove-70-and-71 branch April 12, 2024 00:34
@github-actions github-actions bot added this to the Gutenberg 18.2 milestone Apr 12, 2024
creativecoder pushed a commit that referenced this pull request May 2, 2024
aaronjorbin pushed a commit that referenced this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GitHub Actions Pull requests that update GitHub Actions code [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants