Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: exclude playground from coverage #159

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Barbapapazes
Copy link
Member

@Barbapapazes Barbapapazes commented Jul 7, 2024

Hello 👋,

This PR add the flag coverage.exclude to the test coverage command to avoid to include the playground folder in the coverage report.

This PR also remove the playground coverage in the CI.

Copy link

codecov bot commented Jul 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@53cd585). Learn more about missing BASE report.

Additional details and impacted files
@@          Coverage Diff           @@
##             main    #159   +/-   ##
======================================
  Coverage        ?   6.73%           
======================================
  Files           ?       7           
  Lines           ?     609           
  Branches        ?      20           
======================================
  Hits            ?      41           
  Misses          ?     562           
  Partials        ?       6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -21,5 +21,5 @@ jobs:
- run: pnpm install
- run: pnpm lint
- run: pnpm build
- run: pnpm vitest --coverage
- run: pnpm vitest --coverage --coverage.exclude playground
Copy link
Member

Choose a reason for hiding this comment

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

might be nice to configure this in vitest.config instead 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants