mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-01 16:51:18 +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
|
||||
|
||||
- name: Install PHP_CodeSniffer
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: WPCS check
|
||||
uses: 10up/wpcs-action@stable
|
||||
run: |
|
||||
curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
|
||||
php phpcs.phar --version
|
||||
|
||||
- uses: thenabeel/action-phpcs@v8
|
||||
with:
|
||||
files: "**.php"
|
||||
phpcs_path: php phpcs.phar
|
||||
standard: phpcs.xml.dist
|
||||
|
||||
phpunit:
|
||||
name: PHP Unit Tests
|
||||
|
|
Loading…
Reference in a new issue