Skip to content

Commit

Permalink
ci: fixing codecov integration (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Jan 31, 2024
1 parent c08d7ea commit ca259f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,5 @@ jobs:

- name: Upload frontend coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
flags: frontend
directory: frontend
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3 changes: 2 additions & 1 deletion vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ export default mergeConfig(
}
},
coverage: {
all: true,
provider: 'istanbul',
reporter: ['text', 'json', 'html'],
reporter: ['text', 'html', 'clover', 'json'],
include: ['src/lib/**/*.ts', 'src/components/**/*.{vue,ts}'],
exclude: ['**/*.spec.ts', '**/*.stories.ts']
},
Expand Down

0 comments on commit ca259f6

Please sign in to comment.