Skip to content

ci: calculate and assert test coverage #121

@gfelbing

Description

@gfelbing

The current Makefile doesnt calculate test coverage.

Calculating it is as easy as

go test -v -coverpkg=./... -coverprofile coverage.out ./...
go tool cover -func  coverage.out

When running the tests in the CI, it could verify that the coverage doesn't decrease by a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    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