This commit is contained in:
Vendored
+6
-3
@@ -29,9 +29,12 @@ pipeline {
|
||||
args '-e DJANGO_SETTINGS_MODULE="locallibrary.settings"'}
|
||||
}
|
||||
steps {
|
||||
sh 'pip install -r requirements.txt'
|
||||
sh 'python -m pytest catalog/tests/'
|
||||
sh 'python -m xmlrunner discover -p *_test.py'
|
||||
sh '''
|
||||
cd /tmp/; virtualenv pitestenv; source ./pitestenv/bin/activate
|
||||
pip install -r requirements.txt; cd -
|
||||
python -m pytest catalog/tests/
|
||||
python -m xmlrunner discover -p *_test.py
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user