Skip to content

Add a CI check to prevent coverage regressions in pull requests #2347

Description

@chensuyue

Summary

Ensure that every pull request does not reduce test coverage.

Proposal

Add a corresponding check in CI to detect coverage regressions and fail the workflow when coverage drops below the baseline introduced by the PR.

Expected outcome

  • Prevent coverage regressions from being merged
  • Make coverage changes visible during PR validation
  • Enforce a consistent quality bar in CI

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions