Build/Test Tools: Specify the full working directory for PHPCS

Props ocean90.
See #50401.

git-svn-id: https://develop.svn.wordpress.org/trunk@49175 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2020-10-16 17:12:16 +00:00
parent 505fe2f0b8
commit b52dd8a173
2 changed files with 8 additions and 5 deletions
+5 -2
View File
@@ -61,7 +61,10 @@ jobs:
- name: Install Composer dependencies
run: |
composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction
echo "vendor/bin" >> $GITHUB_PATH
echo "${PWD}/vendor/bin" >> $GITHUB_PATH
- name: Log PHPCS debug information
run: phpcs -i
- name: Run PHP compatibility tests
run: vendor/bin/phpcs --standard=phpcompat.xml.dist -q --report=checkstyle | cs2pr
run: phpcs --standard=phpcompat.xml.dist -q --report=checkstyle | cs2pr