Skip to content

Commit

Permalink
refactor: code coverage for unit tests (#5873)
Browse files Browse the repository at this point in the history
  • Loading branch information
fourdim authored Dec 27, 2023
1 parent f0bc780 commit 2f2f1e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./.coverage/global/lcov.info,./.coverage/store/lcov.info
files: ./.coverage/block-std/lcov.info,./.coverage/blocks/lcov.info,./.coverage/global/lcov.info,./.coverage/inline/lcov.info,./.coverage/store/lcov.info
flags: unittest
name: blocksuite
fail_ci_if_error: false
Expand Down
2 changes: 1 addition & 1 deletion packages/block-std/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig({
coverage: {
provider: 'istanbul', // or 'c8'
reporter: ['lcov'],
reportsDirectory: '../../.coverage/std',
reportsDirectory: '../../.coverage/block-std',
},
/**
* Custom handler for console.log in tests.
Expand Down

1 comment on commit 2f2f1e4

@vercel
Copy link

@vercel vercel bot commented on 2f2f1e4 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blocksuite – ./packages/playground

try-blocksuite.vercel.app
blocksuite-git-master-toeverything.vercel.app
blocksuite-toeverything.vercel.app

Please sign in to comment.