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

Add the PHP Compat GitHub Action Workflow #18

Merged
merged 2 commits into from
May 31, 2024

Conversation

dkotter
Copy link
Collaborator

@dkotter dkotter commented May 30, 2024

Description of the Change

This PR adds in a new GitHub Action Workflow to run PHPCS Compatibility. We set our minimum PHP version to 7.4 and WordPress version to 6.0, but those can both be changed if we want to support older versions of things.

This Workflow is set to run anytime code is pushed to develop or main (and there are PHP files) or when a PR is opened against develop (and there are PHP files).

Solves one of the issues reported in #3 but there's remaining items, so this PR won't close out that Issue

How to test the Change

Ensure the PHP Compatibility Workflow ran when PHP files changed: https://github.com/mailchimp/wordpress/actions/runs/9310169175

Changelog Entry

Added - PHP Compatibility GitHub Action Workflow

@dkotter dkotter added this to the 1.6.0 milestone May 30, 2024
@dkotter dkotter self-assigned this May 30, 2024
@dkotter dkotter force-pushed the feature/3-phpcompat-workflow branch from e623866 to ca54344 Compare May 30, 2024 22:51
@dkotter dkotter requested review from jeffpaul May 30, 2024 22:51
@jeffpaul jeffpaul merged commit ba1b065 into develop May 31, 2024
4 checks passed
<exclude-pattern>*/po/*</exclude-pattern>

<config name="minimum_supported_wp_version" value="6.0"/>
<config name="testVersion" value="7.4-"/>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I missed this in my review before merging, but perhaps this should bump down to 5.6 until #3 settles on the PHP min?

@vikrampm1 vikrampm1 mentioned this pull request Jun 26, 2024
23 tasks
@jeffpaul jeffpaul deleted the feature/3-phpcompat-workflow branch July 1, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants