Skip to content

Commit beef289

Browse files
Remove Codecov on master and production branches (#3743)
Co-authored-by: Zhao Wei Liew <[email protected]>
1 parent 2d4743d commit beef289

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ jobs:
9292
command: |
9393
set -e
9494
yarn test --runInBand --reporters=default --reporters=jest-junit
95-
yarn codecov --disable=gcov -f ./coverage/coverage-final.json
95+
if [ "${CIRCLE_BRANCH}" != "master" ] && [ "${CIRCLE_BRANCH}" != "production" ]; then
96+
yarn codecov --disable=gcov -f ./coverage/coverage-final.json
97+
fi
9698
- run:
9799
name: Integration tests
98100
environment:

0 commit comments

Comments
 (0)