Skip to content

Add coverage badge #402

@lafrech

Description

@lafrech

Test coverage is computed during tests but not displayed anywhere.

It would be nice to setup a service such as Codecov to have it displayed, add a badge, get PR comments with diff coverage, etc.

I don't think I can setup Codecov because I'm not admin of this org so I can't create a token (but I might be mistaken about Codecov setup).

I'm open to suggestions about another service.

Or maybe an admin here can create the token and add it as CODECOV_TOKEN in Settings -> Security -> Secrets and variables -> Actions -> Repository secrets (@touilleMan ?) and then all it takes is add a last step in tests to build-release.yml.

  - name: Upload coverage
    uses: codecov/codecov-action@v5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions