Skip to content

[ci] Add code coverage reporting with enforced minimum threshold (80%) #1038

Description

@CelestinaBeing

Context

Coverage is uploaded to Codecov but there is no enforced minimum threshold. PRs that drop coverage below 80% should be flagged.

Work

  • Add a Codecov config at codecov.yml with coverage.status.patch.target: 80%
  • Add coverage.status.project.target: 80% for overall
  • Configure Codecov to comment on PRs with coverage delta
  • Investigate and fix any existing coverage gaps

Acceptance criteria

  • Codecov PR check fails if patch coverage < 80%
  • Coverage comment posted on every PR
  • Overall coverage ≥ 80% on main branch

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions