MagicPodcast/Jenkinsfile

19 lines
312 B
Groovy

pipeline {
agent { docker { image 'python:3.9' } }
stages {
stage('build') {
steps {
sh 'pip install pipenv'
sh 'pipenv shell --python 3.9'
sh 'pipenv run pip install -r requirements.txt'
}
}
stage('test') {
steps {
sh './run_tests.sh'
}
}
}
}