ci: jenkins coverage report
This commit is contained in:
parent
c203e13604
commit
d54fc5dad1
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -12,10 +12,8 @@ pipeline {
|
||||
steps {
|
||||
sh 'pip install pip --upgrade --progress-bar off'
|
||||
sh 'pip install .[all] --progress-bar off'
|
||||
sh '~/.local/bin/pytest -v --junitxml=reports/result.xml'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
sh '~/.local/bin/pytest -v --junitxml=reports/result.xml --cov=prototorch/ --cov-report=xml:reports/coverage.xml'
|
||||
cobertura coberturaReportFile: 'reports/coverage.xml'
|
||||
junit 'reports/**/*.xml'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user