aiidalab / aiidalab-widgets-base

Reusable widgets for AiiDAlab applications
MIT License
6 stars 17 forks source link

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

Closed danielhollas closed 5 days ago

danielhollas commented 1 week ago

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 https://github.com/aiidalab/aiidalab/pull/433

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.65%. Comparing base (7984c8e) to head (990f48f).

Additional details and impacted files ```diff @@ 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](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/614/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | Coverage Δ | | |---|---|---| | [python-3.10](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/614/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | `83.65% <ø> (-12.55%)` | :arrow_down: | | [python-3.9](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/614/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | `83.68% <ø> (-12.51%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.