Version 5.1 - All the GraphQL #32
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