2021-11-03 15:26:32 +00:00
|
|
|
pipeline {
|
|
|
|
agent none
|
|
|
|
stages {
|
2021-11-05 13:30:08 +00:00
|
|
|
parallel {
|
|
|
|
stage('3.6'){
|
|
|
|
agent{
|
|
|
|
dockerfile {
|
|
|
|
filename 'python36.Dockerfile'
|
|
|
|
dir '.ci'
|
|
|
|
}
|
2021-11-03 15:26:32 +00:00
|
|
|
}
|
2021-11-05 13:30:08 +00:00
|
|
|
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 --cov=prototorch/ --cov-report=xml:reports/coverage.xml'
|
|
|
|
cobertura coberturaReportFile: 'reports/coverage.xml'
|
|
|
|
junit 'reports/**/*.xml'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('3.10'){
|
|
|
|
agent{
|
|
|
|
dockerfile {
|
|
|
|
filename 'python310.Dockerfile'
|
|
|
|
dir '.ci'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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 --cov=prototorch/ --cov-report=xml:reports/coverage.xml'
|
|
|
|
cobertura coberturaReportFile: 'reports/coverage.xml'
|
|
|
|
junit 'reports/**/*.xml'
|
2021-11-03 15:26:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-11-04 08:55:58 +00:00
|
|
|
}
|