Add 'Test' stage

This commit is contained in:
paola.rozo 2020-08-24 21:02:08 -05:00
parent 08aaba11f2
commit fd61afe6a7

15
Jenkinsfile vendored
View file

@ -13,4 +13,19 @@ pipeline {
}
}
}
stage('Test') {
agent {
docker {
image 'qnib/pytest'
}
}
steps {
sh 'py.test --junit-xml test-reports/results.xml sources/test_calc.py'
}
post {
always {
junit 'test-reports/results.xml'
}
}
}
}