updated test stage
willemjan/glucose-dashboard/pipeline/head There was a failure building this commit
willemjan/glucose-dashboard/pipeline/head There was a failure building this commit
This commit is contained in:
Vendored
+2
-4
@@ -30,14 +30,12 @@ pipeline {
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh '''
|
||||
python -m venv .venv
|
||||
. .venv/bin/activate
|
||||
pip install -q -r requirements.txt
|
||||
pip install --break-system-packages -q -r requirements.txt
|
||||
pytest -q --junitxml=report.xml
|
||||
'''
|
||||
}
|
||||
post {
|
||||
always { junit 'report.xml' }
|
||||
always { junit allowEmptyResults: true, testResults: 'report.xml' }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user