mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-20 10:03:43 +03:00
Use phpcs directly so we can pass in correct format
This commit is contained in:
parent
4e5402c9e0
commit
af707b1425
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
|||
run: |
|
||||
touch $GITHUB_WORKSPACE/tmp.php
|
||||
export CHANGED_FILES=$(git diff --name-only --diff-filter=AM remotes/origin/${{ github.base_ref }} | tr '\n' ' ')
|
||||
composer run-script phpcs $GITHUB_WORKSPACE/tmp.php $(echo $CHANGED_FILES) -- -n | cs2pr
|
||||
phpcs -q -n --report=checkstyle $GITHUB_WORKSPACE/tmp.php $(echo $CHANGED_FILES) -- -n | cs2pr
|
||||
|
||||
phpunit:
|
||||
name: PHP Unit Tests
|
||||
|
|
Loading…
Reference in a new issue