pohja/.woodpecker.yml

9 lines
291 B
YAML
Raw Normal View History

2024-02-03 15:00:42 +01:00
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