Skip to content

Commit

Permalink
ci: run lcov version of coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorency committed Sep 9, 2024
1 parent 9c49802 commit ef733d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install dependencies
run: bun install
- name: Run tests and generate coverage
run: bun run test:coverage
run: bun run test:coverage:lcov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"remove": "rm -rf node_modules/ bun.lockb $HOME/.bun/install/cache/",
"update-deps": "bunx npm-check-updates --root --format group -i",
"test:coverage": "bun test --coverage",
"test:coverage:lcov": "bun run test:coverage --coverage-reporter=lcov --coverage-dir ./coverage",
"coverage:upload": "codecov"
},
"author": "Joseph Chalabi",
Expand Down

0 comments on commit ef733d5

Please sign in to comment.