pohja/.woodpecker.yml

15 lines
363 B
YAML

matrix:
PHPVERSION:
- 8.0
- 8.1
- 8.2
- 8.3
steps:
test:
image: php:${PHPVERSION}-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