Add woodpecker.yml for ci
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Martijn de Boer 2024-02-03 15:00:42 +01:00
parent ef57d4bf33
commit bdd2fe802d
1 changed files with 9 additions and 0 deletions

9
.woodpecker.yml Normal file
View File

@ -0,0 +1,9 @@
steps:
test:
image: php:8.2-cli
commands:
- find . -path ./app/vendor -prune -o -type f -name '*.php' -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v "No syntax errors detected" )
when:
- event: pull_request
- event: [push, tag, manual]
branch: main