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

CI: Split out CS and update integration tests workflow #948

Merged
merged 2 commits into from
Jul 23, 2023

Conversation

GaryJones
Copy link
Contributor

Description

QA: Rename PHPCS and PHPUnit config files

By using the .dist extension, and ignoring any of the preferred config files, then local modifications can be added that won't get committed.

CI: Separate out CS and linting into new workflow

Previously, CS was being run with every WP + PHP combination, which is unnecessary.

This also adds in linting for PHP, Composer file validation, and XML validation of PHPUnit and PHPCS config files.

Updates to newer versions of checkout and composer-install actions to avoid warning notices about node version, set-state and save-output usage.

Deploy Notes

None.

Steps to Test

See recent Actions.

@GaryJones GaryJones added this to the 3.5.11 milestone Jul 23, 2023
@GaryJones GaryJones requested a review from raamdev July 23, 2023 00:08
@GaryJones GaryJones self-assigned this Jul 23, 2023
By using the `.dist` extension, and ignoring any of the preferred config files, then local modifications can be added that won't get committed.
Previously, CS was being run with every WP + PHP combination, which is unnecessary.

This also adds in linting for PHP, Composer file validation, and XML validation of PHPUnit and PHPCS config files.

Updates to newer versions of checkout and composer-install actions to avoid warning notices about node version, set-state and save-output usage.
@GaryJones GaryJones force-pushed the improve/workflows branch from 1631bf4 to 0d0e8eb Compare July 23, 2023 00:23
@GaryJones GaryJones merged commit f066f70 into master Jul 23, 2023
@GaryJones GaryJones deleted the improve/workflows branch July 23, 2023 00:25
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.

1 participant