Skip to content

Commit

Permalink
fix: Missing lcov.info file for Codecov publication.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shakeskeyboarde committed Nov 16, 2023
1 parent 8820085 commit 021573f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./.coverage/lcov.info
files: ./out/coverage/lcov.info
fail_ci_if_error: true
verbose: true

Expand Down
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default defineConfig({
reporters: ['verbose'],
coverage: {
enabled: true,
reporter: ['lcov', 'html', 'text'],
reportsDirectory: './out/coverage',
all: true,
include: ['**/*'],
Expand Down

0 comments on commit 021573f

Please sign in to comment.