Attempt to add PHPStan messages to CI
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
This commit is contained in:
parent
c100105fbc
commit
0c592b4932
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -34,6 +34,13 @@ pipeline {
|
|||||||
sh 'php ./vendor/bin/phpunit --colors=never'
|
sh 'php ./vendor/bin/phpunit --colors=never'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Code Cleanliness') {
|
||||||
|
agent any
|
||||||
|
steps {
|
||||||
|
sh 'php ./vendor/bin/phpstan analyse src/ -l max -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{$1=$1;print}' > build/logs/checkstyle.xml'
|
||||||
|
checkstyle 'build/logs/checkstyle.xml'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Coverage') {
|
stage('Coverage') {
|
||||||
agent any
|
agent any
|
||||||
steps {
|
steps {
|
||||||
|
Loading…
Reference in New Issue
Block a user