Add woodpecker.yml for ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
ef57d4bf33
commit
bdd2fe802d
1 changed files with 9 additions and 0 deletions
9
.woodpecker.yml
Normal file
9
.woodpecker.yml
Normal 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
|
Loading…
Reference in a new issue