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

CI: Don't track coverage of tests/ #614

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

danielhollas
Copy link
Contributor

The line coverage percentage is currently being artificially inflated by tracking coverage of tests themselves, i.e. the files in the tests/ folder. Let's be honest with ourselves and track what we care about.

Same PR as aiidalab/aiidalab#433

@danielhollas danielhollas requested a review from unkcpz June 27, 2024 16:01
Copy link

codecov bot commented Jun 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.65%. Comparing base (7984c8e) to head (990f48f).
Report is 18 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #614       +/-   ##
===========================================
- Coverage   96.19%   83.65%   -12.55%     
===========================================
  Files          11       16        +5     
  Lines        1183     3511     +2328     
===========================================
+ Hits         1138     2937     +1799     
- Misses         45      574      +529     
Flag Coverage Δ
python-3.10 83.65% <ø> (-12.55%) ⬇️
python-3.9 83.68% <ø> (-12.51%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Member

@unkcpz unkcpz left a comment

Choose a reason for hiding this comment

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

Interesting, didn't know this before.

@danielhollas danielhollas merged commit d8b7e71 into aiidalab:master Jul 1, 2024
10 of 11 checks passed
@danielhollas danielhollas deleted the no-tests-coverage branch July 1, 2024 21:04
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