Skip to content

Commit

Permalink
add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed May 21, 2019
1 parent 254efe7 commit 51b455e
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 1 deletion.
2 changes: 2 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ workflows:
# and send coverage data to coveralls.io
# see https://coveralls.io/github/bahmutov/demo-battery-api
- run: npm run coveralls
# and send code coverage to Codecov
- run: npm run codecov
85 changes: 85 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"start": "parcel serve index.html",
"dev": "start-test 1234 cy:open",
"report:coverage": "nyc report --reporter=html",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"codecov": "nyc report --reporter=text-lcov | codecov"
},
"repository": {
"type": "git",
Expand All @@ -26,6 +27,7 @@
"@babel/core": "7.4.4",
"@cypress/browserify-preprocessor": "2.0.0",
"babel-plugin-istanbul": "5.1.4",
"codecov": "3.5.0",
"coveralls": "3.0.3",
"cypress": "3.3.0",
"cypress-istanbul": "1.1.0",
Expand Down

0 comments on commit 51b455e

Please sign in to comment.