Skip to content

Add Code Coverage to PR Checks #7290

Closed
@ericspod

Description

@ericspod
Member

Is your feature request related to a problem? Please describe.
Codecov and others will add a report on the coverage metrics for PRs. This would be helpful for us when assessing the coverage of tests for new features and enforce the need to improve coverage and not let it slide.

Describe the solution you'd like
A PR comment report of the coverage delta for the proposed changes, like this.

Describe alternatives you've considered
Manual code coverage checking.

Additional context
We use Codecov now for tracking coverage but adding the PR message would help.

Activity

chrislevn

chrislevn commented on Mar 25, 2025

@chrislevn
Contributor

Hi @ericspod, I'm new to MONAI and would love to contribute. I have a draft PR here. Will improve it upon your feedback. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @ericspod@chrislevn@KumoLiu

      Issue actions

        Add Code Coverage to PR Checks · Issue #7290 · Project-MONAI/MONAI