How to best generate coverage report for mixed Python, CPython C-API extensions · Issue #626 · nedbat/coveragepy (original) (raw)
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?)