From c8be713d11f51235b5484984f6fdbfee9fcf4269 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Wed, 16 Dec 2020 10:38:00 +0000 Subject: [PATCH] test coveralls --- azure-pipelines.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index faf80a02..ff96e279 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -37,10 +37,15 @@ jobs: cd /myagent/_work/1/s/api/tacticalrmm coverage run manage.py test -v 2 if [ $? -ne 0 ]; then - coveralls exit 1 - else - coveralls - exit 0 fi displayName: "Run django tests" + + - script: | + pip install coveralls + export CIRCLE_BRANCH=$BUILD_SOURCEBRANCH + coveralls + displayName: "coveralls" + env: + CIRCLECI: 1 + CIRCLE_BUILD_NUM: $(Build.BuildNumber)