Skip to content

ci: add coverage targets #82

Closed
Closed

Description

@uniqueg

Why

Part of #65. foca, cloud-registry and proTES set coverage targets (fail_under in CI and codecov.yml); this repository uploads JaCoCo reports to Codecov but sets no target, so coverage can drop unnoticed.

What

  • codecov.yml with a project target (no drop) and a patch target for the changes of each pull request.
  • A JaCoCo check on the merged unit and integration test coverage in ./mvnw verify, with a floor at the current coverage, so that the gate CI passed fails when coverage drops below it.
  • The developer docs say how coverage is checked.
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: feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions