pohja/.woodpecker.yml

15 lines
363 B
YAML
Raw Normal View History

2024-02-03 15:11:18 +01:00
matrix:
PHPVERSION:
- 8.0
- 8.1
- 8.2
- 8.3
2024-02-03 15:00:42 +01:00
steps:
test:
2024-02-03 15:11:18 +01:00
image: php:${PHPVERSION}-cli
2024-02-03 15:00:42 +01:00
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