Skip to content

Commit

Permalink
Don't submit coverage if env varibale is unset
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Dec 6, 2022
1 parent c18993f commit 7a1d1ca
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ jobs:
source venv/bin/activate
cd tests
coverage run --source=webpack_loader manage.py test
coveralls
if [ "$COVERALLS_REPO_TOKEN" != "" ]
then
coveralls
fi
environment:
COVERALLS_PARALLEL: 1

Expand Down Expand Up @@ -260,5 +263,8 @@ jobs:
- run:
name: Finish Coveralls
command: |
pip install coveralls
coveralls --finish
if [ "$COVERALLS_REPO_TOKEN" != "" ]
then
pip install coveralls
coveralls --finish
fi

0 comments on commit 7a1d1ca

Please sign in to comment.