Skip to content

Commit

Permalink
add PHP CodeSniffer test to github workflow jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-j committed Mar 20, 2024
1 parent 51eaa52 commit 90a8ad1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
- uses: actions/checkout@v3
- name: Check PHP syntax
run: php -l src/ tests/
# PHP coding standard validation
phpcs:
name: PHP coding standard
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check PHP coding standard
run: vendor/bin/phpcs
# run PHP unit tests
phpunit:
name: PHPUnit tests
Expand Down

0 comments on commit 90a8ad1

Please sign in to comment.