mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-02 01:01:18 +03:00
reconfig
This commit is contained in:
parent
73629422a3
commit
833a9210b6
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -4,6 +4,10 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches: [production]
|
branches: [production]
|
||||||
|
paths:
|
||||||
|
- "**.php"
|
||||||
|
- "phpcs.xml"
|
||||||
|
- ".github/workflows/phpcs.yml"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
phpcs:
|
phpcs:
|
||||||
|
@ -44,15 +48,14 @@ jobs:
|
||||||
echo "${PWD}/mu-plugins/vendor/bin" >> $GITHUB_PATH
|
echo "${PWD}/mu-plugins/vendor/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Install PHP_CodeSniffer
|
- name: Install PHP_CodeSniffer
|
||||||
run: |
|
|
||||||
curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
|
|
||||||
php phpcs.phar --version
|
|
||||||
|
|
||||||
- uses: thenabeel/action-phpcs@v8
|
- uses: thenabeel/action-phpcs@v8
|
||||||
with:
|
with:
|
||||||
files: "**.php"
|
files: "**.php"
|
||||||
phpcs_path: php phpcs.phar
|
phpcs_path: php phpcs.phar
|
||||||
standard: phpcs.xml
|
standard: phpcs.xml
|
||||||
|
run: |
|
||||||
|
curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
|
||||||
|
php phpcs.phar --version
|
||||||
|
|
||||||
phpunit:
|
phpunit:
|
||||||
name: PHP Unit Tests
|
name: PHP Unit Tests
|
||||||
|
|
Loading…
Reference in a new issue