Skip to content

Commit

Permalink
Use lcov coverage reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnns authored and gitbutler-client committed Jul 26, 2024
1 parent 395f271 commit f4a3728
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
CI: true
- name: ⬆️ Upload coverage report
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 # pin@main
if: "contains(' refs/heads/main refs/heads/beta ', github.ref) && matrix.node-version == '22.x'"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: 🚀 Release
Expand Down
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
test: {
root: "./src",
coverage: {
reporter: ["json", "html"],
reporter: ["lcov", "html"],
reportsDirectory: "../coverage",
exclude: ["scripts/**", "tests/**"],
},
Expand Down

0 comments on commit f4a3728

Please sign in to comment.