ci: add jenkinsfile
This commit is contained in:
parent
7d4a041df2
commit
67fff5df3c
20
Jenkinsfile
vendored
Normal file
20
Jenkinsfile
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
pipeline {
|
||||
agent none
|
||||
stages {
|
||||
stage('Tests') {
|
||||
agent {
|
||||
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'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user