updated test stage
willemjan/glucose-dashboard/pipeline/head There was a failure building this commit

This commit is contained in:
2026-08-28 14:29:49 +02:00
parent ae0c736ea7
commit 17279b69f1
Vendored
+2 -4
View File
@@ -30,14 +30,12 @@ pipeline {
stage('Test') { stage('Test') {
steps { steps {
sh ''' sh '''
python -m venv .venv pip install --break-system-packages -q -r requirements.txt
. .venv/bin/activate
pip install -q -r requirements.txt
pytest -q --junitxml=report.xml pytest -q --junitxml=report.xml
''' '''
} }
post { post {
always { junit 'report.xml' } always { junit allowEmptyResults: true, testResults: 'report.xml' }
} }
} }