Skip to content

How to best generate coverage report for mixed Python, CPython C-API extensions #626

Closed
@nedbat

Description

@nedbat

Originally reported by Christoph Reiter (Bitbucket: lazka, GitHub: lazka)


This is more of a support request, I hope that's OK.

I work on two projects which are CPython extensions partially written in Python and C, using the Python C API. To get a nicely unified coverage report over all Python versions on Windows/macOS/Linux, I currently use coverage.py and gcov and send it to codecov.io, which looks something like this: https://codecov.io/gh/pygobject/pycairo

Question:

Does anyone know if there is a nice way to get something similar without using external services and without having separate html reports?

(Would it be possible to import gcov or the xml format into the internal coverage.py format and then merge everything to one report?)


Metadata

Metadata

Assignees

No one assigned

    Labels

    exoticUnusual execution environmentfixed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions