ci: jenkins coverage report

This commit is contained in:
Alexander Engelsberger 2021-11-05 14:04:07 +01:00
parent c203e13604
commit d54fc5dad1
No known key found for this signature in database
GPG Key ID: BE3F5909FF0D83E3
3 changed files with 4 additions and 6 deletions

6
Jenkinsfile vendored
View File

@ -12,10 +12,8 @@ pipeline {
steps { steps {
sh 'pip install pip --upgrade --progress-bar off' sh 'pip install pip --upgrade --progress-bar off'
sh 'pip install .[all] --progress-bar off' sh 'pip install .[all] --progress-bar off'
sh '~/.local/bin/pytest -v --junitxml=reports/result.xml' sh '~/.local/bin/pytest -v --junitxml=reports/result.xml --cov=prototorch/ --cov-report=xml:reports/coverage.xml'
} cobertura coberturaReportFile: 'reports/coverage.xml'
post {
always {
junit 'reports/**/*.xml' junit 'reports/**/*.xml'
} }
} }

View File

@ -46,7 +46,7 @@ EXAMPLES = [
"scikit-learn", "scikit-learn",
] ]
TESTS = [ TESTS = [
"codecov", "pytest-cov",
"pytest", "pytest",
] ]
ALL = CLI + DEV + DOCS + EXAMPLES + TESTS ALL = CLI + DEV + DOCS + EXAMPLES + TESTS