From 67e7976710455a1094c9848988f0052efb33c173 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Wed, 16 Dec 2020 09:25:28 +0000 Subject: [PATCH] pipelines attempt 2 --- azure-pipelines.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2892085e..d26d7da4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -41,6 +41,11 @@ jobs: source env/bin/activate cd /myagent/_work/1/s/api/tacticalrmm coverage run manage.py test -v 2 - coveralls + if [ $? -ne 0 ]; then + coveralls + exit 1 + else + coveralls + exit 0 + fi displayName: "Run django tests" - failOnStderr: "true"