Corrected commands to test python app

This commit is contained in:
Marcin-Ramotowski 2025-05-04 06:55:10 +00:00
parent fb260a0f6d
commit 925af7d314

5
Jenkinsfile vendored
View File

@ -17,8 +17,9 @@ pipeline {
dir('api') {
sh '''
python3 -m venv env
env/bin/pip install -r requirements.txt pytest
env/bin/pytest . --junit-xml=pytest_junit.xml
source env/bin/activate
pip install -r requirements.txt pytest
python3 -m pytest --junit-xml=pytest_junit.xml
'''
}
}