Skip to content

Commit

Permalink
Skip c8 report generation and use lcov output in test run
Browse files Browse the repository at this point in the history
  • Loading branch information
i-like-robots committed Jun 15, 2022
1 parent a362777 commit 74ab70d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ jobs:
- name: Test
run: npm run coverage

- name: Prepare coverage report
run: npx c8 report --reporter=lcov

- name: Send coverage report to Coveralls
uses: coverallsapp/github-action@master
with:
Expand Down
5 changes: 4 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ export default {
jsxFragment: 'Fragment'
},
test: {
environment: 'node'
environment: 'node',
coverage: {
reporter: ['text', 'lcov'],
},
}
}

0 comments on commit 74ab70d

Please sign in to comment.