mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-02 09:11:17 +03:00
parent
8d21aafaef
commit
ce2cdba297
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -44,10 +44,15 @@ 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
|
||||||
steps:
|
run: |
|
||||||
- uses: actions/checkout@v3
|
curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
|
||||||
- name: WPCS check
|
php phpcs.phar --version
|
||||||
uses: 10up/wpcs-action@stable
|
|
||||||
|
- uses: thenabeel/action-phpcs@v8
|
||||||
|
with:
|
||||||
|
files: "**.php"
|
||||||
|
phpcs_path: php phpcs.phar
|
||||||
|
standard: phpcs.xml.dist
|
||||||
|
|
||||||
phpunit:
|
phpunit:
|
||||||
name: PHP Unit Tests
|
name: PHP Unit Tests
|
||||||
|
|
Loading…
Reference in a new issue