Skip to content

Commit

Permalink
coverage com json reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigondec committed Jun 3, 2020
1 parent c8c31d4 commit b4b638a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ jobs:
- run: ls coverage/

- uses: codecov/codecov-action@v1
# with:
# file: coverage/coverage-final.json
with:
file: coverage/coverage-final.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"debug": "node --inspect-brk ./bin/www",
"cli": "node --experimental-repl-await",
"test": "./node_modules/.bin/nyc mocha --reporter spec",
"coverage": "./node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov",
"coverage": "./node_modules/.bin/nyc --reporter=json --reporter=text mocha --reporter spec",
"test:acceptance": "npm t test/acceptance/*",
"test:unit": "npm t test/unit/*"
},
Expand Down

0 comments on commit b4b638a

Please sign in to comment.