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') {
|
stage('Unit tests') {
|
||||||
steps {
|
steps {
|
||||||
sh ''' export PATH=${VIRTUAL_ENV}/bin:${PATH}
|
sh ''' export PATH=${VIRTUAL_ENV}/bin:${PATH}
|
||||||
|
pip install pytest
|
||||||
python -m pytest --verbose --junit-xml results.xml
|
python -m pytest --verbose --junit-xml results.xml
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
// Archive unit tests for the future
|
// 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
|
nose
|
||||||
radon
|
radon
|
||||||
coverage
|
coverage
|
||||||
|
pytest
|
||||||
|
|
Loading…
Reference in New Issue
Block a user