mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-02 01:01:18 +03:00
Remove PHPCS config
This commit is contained in:
parent
6cb7adc8b4
commit
8222cd5e9b
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -43,12 +43,6 @@ jobs:
|
||||||
composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction
|
composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction
|
||||||
echo "${PWD}/mu-plugins/vendor/bin" >> $GITHUB_PATH
|
echo "${PWD}/mu-plugins/vendor/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Run PHPCS on changed files
|
|
||||||
run: |
|
|
||||||
touch $GITHUB_WORKSPACE/tmp.php
|
|
||||||
export CHANGED_FILES=$(git diff --name-only --diff-filter=AM remotes/origin/${{ github.base_ref }} | tr '\n' ' ')
|
|
||||||
phpcs -q -n --report=checkstyle $GITHUB_WORKSPACE/tmp.php $(echo $CHANGED_FILES) | cs2pr
|
|
||||||
|
|
||||||
phpunit:
|
phpunit:
|
||||||
name: PHP Unit Tests
|
name: PHP Unit Tests
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue