Skip to content

Add support for coverage reporting #25

@leandro-lucarella-frequenz

Description

Coverage reporting can be added via pytest-cov and then visualized via codecov.

In the pyproject.toml file we should add to the dependencies:

dev-pytest = [
  "pytest == 7.3.1",
  "pytest-cov == 4.0.0",
  "...",
]

Then basically just run pytest --cov python.package.to.test in the CI and use the codecov/codecov-action to upload the reports.

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:ciAffects the GitHub workflow and other parts for running CIpart:testsAffects the unit, integration and performance (benchmarks) teststype:enhancementNew feature or enhancement visitble to users

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions