Skip to content

Commit

Permalink
[CI] Adjust linting to return an error code on error
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Dec 9, 2022
1 parent 0ada0b0 commit 1164789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
composer require typo3/cms-core=${{ matrix.typo3-versions }} --no-progress --prefer-dist --optimize-autoloader
- name: Run PHP linter
run: |
find . -name \*.php ! -path "./.Build/*" -exec php -l {} \;
find . -type f -name '*.php' ! -path "./.Build/*" -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v "No syntax errors detected" )
- name: Run unit tests
run: |
make tests
Expand Down

0 comments on commit 1164789

Please sign in to comment.