tests added to pipeline
esbo_ds/ESBO-ETC/pipeline/head There was a failure building this commit Details

This commit is contained in:
Lukas Klass 2020-07-21 15:42:16 +02:00
parent 2827b03342
commit 203cde1216
1 changed files with 4 additions and 2 deletions

6
Jenkinsfile vendored
View File

@ -20,8 +20,10 @@ pipeline {
. pyenv/bin/activate
pip3 install -r requirements.txt
'''
sh 'ls -R tests/data'
sh 'pyenv/bin/python3 -m unittest discover tests'
sh '''
export PYTHONPATH=`pwd`
../pyenv/bin/python3 -m unittest discover test
'''
}
}