mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 02:53:43 +03:00
Fix path
This commit is contained in:
parent
af707b1425
commit
d6aacc1aed
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -41,13 +41,13 @@ jobs:
|
||||||
- name: Install Composer dependencies
|
- name: Install Composer dependencies
|
||||||
run: |
|
run: |
|
||||||
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}/vendor/bin" >> $GITHUB_PATH
|
echo "${PWD}/mu-plugins/vendor/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Run PHPCS on all Core files
|
- name: Run PHPCS on all Core files
|
||||||
run: |
|
run: |
|
||||||
touch $GITHUB_WORKSPACE/tmp.php
|
touch $GITHUB_WORKSPACE/tmp.php
|
||||||
export CHANGED_FILES=$(git diff --name-only --diff-filter=AM remotes/origin/${{ github.base_ref }} | tr '\n' ' ')
|
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) -- -n | cs2pr
|
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