Skip to content

Commit

Permalink
reconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
pkevan committed May 22, 2024
1 parent 7362942 commit 833a921
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request:
push:
branches: [production]
paths:
- "**.php"
- "phpcs.xml"
- ".github/workflows/phpcs.yml"

jobs:
phpcs:
Expand Down Expand Up @@ -44,16 +48,15 @@ jobs:
echo "${PWD}/mu-plugins/vendor/bin" >> $GITHUB_PATH
- name: Install PHP_CodeSniffer
- uses: thenabeel/action-phpcs@v8
with:
files: "**.php"
phpcs_path: php phpcs.phar
standard: phpcs.xml
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

phpunit:
name: PHP Unit Tests

Expand Down

0 comments on commit 833a921

Please sign in to comment.