chage in unit test

This commit is contained in:
shikhar.s 2019-08-29 16:27:06 +05:30
parent 20502a2142
commit aaf1af6c59
3 changed files with 3 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -187,13 +187,14 @@ pipeline {
stage('Unit tests') {
steps {
sh ''' export PATH=${VIRTUAL_ENV}/bin:${PATH}
pip install pytest
python -m pytest --verbose --junit-xml results.xml
'''
}
post {
always {
// Archive unit tests for the future
junit allowEmptyResults: true, testResults: 'test-reports/results.xml'
junit allowEmptyResults: true, testResults: 'results.xml'
}
}
}

View File

@ -4,3 +4,4 @@ pycrypto
nose
radon
coverage
pytest