ci: two python versions
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							67fff5df3c
						
					
				
				
					commit
					2da3a8f226
				
			
							
								
								
									
										39
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										39
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -1,20 +1,35 @@
 | 
				
			|||||||
pipeline {
 | 
					pipeline {
 | 
				
			||||||
  agent none
 | 
					  agent none
 | 
				
			||||||
  stages {
 | 
					  stages {
 | 
				
			||||||
    stage('Tests') {
 | 
					    stage('CPU') {
 | 
				
			||||||
      agent {
 | 
					      parallel {
 | 
				
			||||||
        docker {
 | 
					        stage('3.9'){
 | 
				
			||||||
          image 'python:3.9'
 | 
					          agent {
 | 
				
			||||||
          args '--user 0:0'
 | 
					            docker {
 | 
				
			||||||
 | 
					              image 'python:3.9'
 | 
				
			||||||
 | 
					              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'
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        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'
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
      steps {
 | 
					 | 
				
			||||||
        sh 'pip install pip --upgrade --progress-bar off'
 | 
					 | 
				
			||||||
        sh 'pip install .[all] --progress-bar off'
 | 
					 | 
				
			||||||
        sh './tests/test_examples.sh examples'
 | 
					 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user