Skip to content

Commit

Permalink
codecov format for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ctot-nondef committed Jan 27, 2023
1 parent cf5dcc5 commit 5061892
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v3
with:
file: ./coverage/coverage-summary.json
file: ./coverage/lcov.info
fail_ci_if_error: true
verbose: true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "tsc",
"postbuild": "cp package*.json dist && cd dist && npm ci --omit=dev",
"test": "nyc --reporter=json-summary mocha --exit --require ts-node/register test/*.ts",
"test": "nyc --reporter=lcov mocha --exit --require ts-node/register test/*.ts",
"coverage:badge": "coverage-badge-creator",
"bin": "npm run build && node dist/bin/index.js"
},
Expand Down

0 comments on commit 5061892

Please sign in to comment.