Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Codecov: start reporting code coverage. (#232)
Browse files Browse the repository at this point in the history
* start reporting coverage

* Include opencensus-nodejs for codecov report
  • Loading branch information
mayurkale22 committed Dec 14, 2018
1 parent f831783 commit d173cc5
Show file tree
Hide file tree
Showing 14 changed files with 1,470 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ unit_tests: &unit_tests
- run:
name: Run unit tests.
command: npm run test
- run:
name: Submit coverage data to codecov.
command: npm run codecov
when: always

mongo_service: &mongo_service
image: mongo
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"compile": "lerna run compile",
"test": "lerna run test",
"bootstrap": "lerna bootstrap",
"bump": "lerna publish"
"bump": "lerna publish",
"codecov": "lerna run codecov"
},
"keywords": [
"opencensus",
Expand Down
2 changes: 2 additions & 0 deletions packages/opencensus-core/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fixes:
- "::packages/opencensus-core/"
Loading

0 comments on commit d173cc5

Please sign in to comment.