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

Commit d173cc5

Browse files
authored
Codecov: start reporting code coverage. (#232)
* start reporting coverage * Include opencensus-nodejs for codecov report
1 parent f831783 commit d173cc5

14 files changed

Lines changed: 1470 additions & 9 deletions

File tree

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ unit_tests: &unit_tests
1616
- run:
1717
name: Run unit tests.
1818
command: npm run test
19+
- run:
20+
name: Submit coverage data to codecov.
21+
command: npm run codecov
22+
when: always
1923

2024
mongo_service: &mongo_service
2125
image: mongo

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"compile": "lerna run compile",
1111
"test": "lerna run test",
1212
"bootstrap": "lerna bootstrap",
13-
"bump": "lerna publish"
13+
"bump": "lerna publish",
14+
"codecov": "lerna run codecov"
1415
},
1516
"keywords": [
1617
"opencensus",
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fixes:
2+
- "::packages/opencensus-core/"

0 commit comments

Comments
 (0)