ci: two python versions

This commit is contained in:
Alexander Engelsberger 2021-11-04 11:17:33 +01:00 committed by GitHub
parent 67fff5df3c
commit 2da3a8f226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
Jenkinsfile vendored
View File

@ -1,13 +1,14 @@
pipeline {
agent none
stages {
stage('Tests') {
stage('CPU') {
parallel {
stage('3.9'){
agent {
docker {
image 'python:3.9'
args '--user 0:0'
}
}
steps {
sh 'pip install pip --upgrade --progress-bar off'
@ -15,6 +16,20 @@ pipeline {
sh './tests/test_examples.sh examples'
}
}
stage('3.8'){
agent {
docker {
image 'python:3.8'
args '--user 0:0'
}
}
steps {
sh 'pip install pip --upgrade --progress-bar off'
sh 'pip install .[all] --progress-bar off'
sh './tests/test_examples.sh examples'
}
}
}
}
}
}