Skip to content

Commit ed76102

Browse files
authored
Make publishing coverage optional (qlik-oss#280)
1 parent 4fbb7b1 commit ed76102

File tree

2 files changed

+922
-13
lines changed

2 files changed

+922
-13
lines changed

.circleci/config.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ jobs:
3030
command: npm run -s lint
3131
- run:
3232
name: Unit & component testing
33-
command: npm run -s test
34-
- run:
35-
name: Publish test coverage to coveralls.io
36-
command: npm run -s coverage
33+
command: |
34+
npm run -s test
35+
if [ ! -z "$COVERALLS_REPO_TOKEN" ]; then
36+
echo "Uploading coverage results to coveralls.io..."
37+
npm run -s coverage
38+
fi
3739
- run:
3840
name: Generate JSDoc
3941
command: npm run -s jsdoc

0 commit comments

Comments
 (0)