Skip to content

Commit c3b708d

Browse files
author
whyboris
committed
lcov coverage for codacy
1 parent bfbee97 commit c3b708d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- ./node_modules
3333
- run: yarn run test
3434
- run: yarn run lint
35+
- run: yarn run coverage-lcov
3536
- run: yarn run codacy
3637

3738
build-node_4:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"coverage-html": "nyc report --reporter=html && open ./coverage/index.html",
4444
"check-coverage": "nyc check-coverage --statements 40 --functions 40 --branches 0 --lines 40",
4545
"report": "nyc report",
46+
"coverage-lcov": "nyc report --reporter=lcov",
4647
"codacy": "cat ./coverage/lcov.info | codacy-coverage",
4748
"preversion": "yarn run test",
4849
"postversion": "git push && git push --tags"

0 commit comments

Comments
 (0)