diff --git a/Jenkinsfile b/Jenkinsfile index d1d6adc7..379ce05d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -184,21 +184,22 @@ pipeline { } } - // stage('Unit tests') { - // steps { - // sh ''' export PATH=${VIRTUAL_ENV}/bin:${PATH} - // pip install pytest - // pip install psutil - // python -m pytest --verbose --junit-xml results.xml - // ''' - // } - // post { - // always { - // // Archive unit tests for the future - // junit allowEmptyResults: true, testResults: 'results.xml' - // } - // } - // } + stage('Unit tests') { + steps { + sh ''' export PATH=${VIRTUAL_ENV}/bin:${PATH} + pip install pytest + pip install psutil + pip install python-prctl==1.5.0 + python -m pytest --verbose --junit-xml results.xml + ''' + } + post { + always { + // Archive unit tests for the future + junit allowEmptyResults: true, testResults: 'results.xml' + } + } + } // stage('Unit tests') { // steps { // sh ''' source activate ${BUILD_TAG}