Add code coverage to CI
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit Details

This commit is contained in:
Timothy Warren 2020-03-11 15:03:04 -04:00
parent 4c43a0cf79
commit ea2065ab4d
1 changed files with 6 additions and 1 deletions

7
Jenkinsfile vendored
View File

@ -46,7 +46,12 @@ pipeline {
sh 'rm -f composer.lock'
sh 'php composer.phar install --ignore-platform-reqs'
sh 'php vendor/bin/robo lint'
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --coverage-clover clover.xml --colors=never'
step([
$class: 'CloverPublisher',
cloverReportDir: '',
cloverReportFileName: 'clover.xml',
])
}
}
}