mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user