chage in unit test
This commit is contained in:
parent
20502a2142
commit
aaf1af6c59
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,3 +4,4 @@ pycrypto
|
|||
nose
|
||||
radon
|
||||
coverage
|
||||
pytest
|
||||
|
|
Loading…
Reference in New Issue
Block a user