Skip to content

Implement codecov status checks #294

@RDaxini

Description

@RDaxini

Is your feature request related to a problem? Please describe.
Codecov leaves a comment on PRs but this quickly becomes outdated once the PR is updated. Users need to scroll through comments to find the codecov report, and then follow external links to view the updated result in case the comment is outdated. This is inconvenient and inefficient.
There are also no rules being (strictly) enforced for required coverage, PRs could be merged with 0% of new/modified lines being covered by tests.

Describe the solution you'd like
Prevent codecov comment
Integrate codecov check into overall testing infrastructure so that the codecov check is updated with every push, and reported alongside other checks such as those for flake8 and pytest.
This will improve workflow visibility by providing an immediate, clear PASS/FAIL status for coverage without needing to scroll through comments.
We can define the requirements as we like, ideally this should be set as 100% coverage on new/modified lines. It would also be possible to block PRs from being merged if this requirement is not satisfied.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions