Skip to content

Commit

Permalink
chore: Switch to v8 as code coverage provider, reduces the dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Oct 6, 2023
1 parent 1d88612 commit dfc1e33
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Collect coverage
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
files: ./coverage/lcov.info
files: ./coverage/clover.xml

summary:
runs-on: ubuntu-latest
Expand Down
65 changes: 10 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@nextcloud/eslint-config": "^8.3.0",
"@nextcloud/vite-config": "^1.0.0-beta.19",
"@types/gettext-parser": "^4.0.2",
"@vitest/coverage-istanbul": "^0.34.6",
"@vitest/coverage-v8": "^0.34.6",
"@vue/test-utils": "^1.3.6",
"@vue/tsconfig": "^0.4.0",
"@zamiell/typedoc-plugin-not-exported": "^0.2.0",
Expand Down
3 changes: 2 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default defineConfig(async (env) => {
test: {
environment: 'happy-dom',
coverage: {
provider: 'istanbul',
all: true,
provider: 'v8',
include: ['lib/**/*.ts', 'lib/*.ts'],
exclude: ['lib/**/*.spec.ts'],
},
Expand Down

0 comments on commit dfc1e33

Please sign in to comment.