failing sonar job if coverage.xml not present as proxcy for failed tests

This commit is contained in:
Matthias Bisping 2022-03-24 14:43:43 +01:00
parent ebcee7ff2a
commit 7468c0738f

View File

@ -23,6 +23,11 @@ sleep 30
bash run_tests.sh
if [! -f reports/coverage.xml ]
then
exit 1
fi
#coverage run -m pytest pyinfra/test/ -x && coverage report -m && coverage xml
SERVICE_NAME=$1