Add woodpecker.yml for ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Martijn de Boer 2024-02-03 15:00:42 +01:00
parent ef57d4bf33
commit bdd2fe802d

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