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