test coveralls
This commit is contained in:
parent
ae887c8648
commit
c8be713d11
|
@ -37,10 +37,15 @@ jobs:
|
||||||
cd /myagent/_work/1/s/api/tacticalrmm
|
cd /myagent/_work/1/s/api/tacticalrmm
|
||||||
coverage run manage.py test -v 2
|
coverage run manage.py test -v 2
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
coveralls
|
|
||||||
exit 1
|
exit 1
|
||||||
else
|
|
||||||
coveralls
|
|
||||||
exit 0
|
|
||||||
fi
|
fi
|
||||||
displayName: "Run django tests"
|
displayName: "Run django tests"
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
pip install coveralls
|
||||||
|
export CIRCLE_BRANCH=$BUILD_SOURCEBRANCH
|
||||||
|
coveralls
|
||||||
|
displayName: "coveralls"
|
||||||
|
env:
|
||||||
|
CIRCLECI: 1
|
||||||
|
CIRCLE_BUILD_NUM: $(Build.BuildNumber)
|
||||||
|
|
Loading…
Reference in New Issue