bot-base/Jenkinsfile
Suwako Moriya 06a36fda67
Some checks failed
Gitsokyo/bot-base/pipeline/head There was a failure building this commit
Add Jenkinsfile
2020-04-25 16:56:52 +02:00

23 lines
528 B
Groovy

pipeline {
agent none
stages {
stage('Test') {
agent {
docker {
image 'python:3.7'
}
}
steps {
sh "pip install pipenv"
sh "pipenv sync"
sh 'pipenv run pytest -p no:warnings --junit-xml test-reports/results.xml'
}
post {
always {
junit 'test-reports/results.xml'
}
}
}
}
}