Automattic / VIP-Coding-Standards

PHP_CodeSniffer ruleset to enforce WordPress VIP coding standards.
https://wpvip.com/documentation/how-to-install-php-code-sniffer-for-wordpress-com-vip/
Other
236 stars 40 forks source link

CI: test and quicktest tweaks #757

Closed GaryJones closed 1 year ago

GaryJones commented 1 year ago

Turn on display_errors for quicktest, and separate out PHPCS and WPCS composer requires into separate steps.

jrfnl commented 1 year ago

FYI: for some other standards (and I intend to do the same for WPCS) I have implemented a change in the workflow logic now as there are more dependencies involved. This change leverages the Composer --prefer-lowest/--prefer-stable options to run the tests against high/low supported versions. We may want to consider implementing that logic here in the future as well.