failing sonar job if coverage.xml not present as proxcy for failed tests
This commit is contained in:
parent
ebcee7ff2a
commit
7468c0738f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user