This commit is contained in:
Paul Kevan 2024-05-22 14:12:31 +01:00
parent 9aaac4a789
commit 8d21aafaef

View file

@ -44,15 +44,10 @@ jobs:
echo "${PWD}/mu-plugins/vendor/bin" >> $GITHUB_PATH
- name: Install PHP_CodeSniffer
run: |
curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
php phpcs.phar --version
- uses: thenabeel/action-phpcs@v8
with:
files: "**.php"
phpcs_path: php phpcs.phar
standard: phpcs.xml.dist
steps:
- uses: actions/checkout@v3
- name: WPCS check
uses: 10up/wpcs-action@stable
phpunit:
name: PHP Unit Tests