irongut/CodeCoverageSummary

Implement MyPy compatibility

Opened this issue · 4 comments

I'm hitting "Overall lines covered not found" (https://github.com/irongut/CodeCoverageSummary/blob/f138489/src/CodeCoverageSummary/Program.cs#L172C41-L172C74) when trying to display coverage data produced by the most used Python type checker — MyPy.

It's generated using the --cobertura-xml-report CLI flag per https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-cobertura-xml-report.

To grab an example, go to https://app.codecov.io/github/aio-libs/yarl/commit/1fe1e02357537b5cf348b2088bcedb30847fbbf9, find an upload with the MyPy flag in the widget on the right, click Download. You'll get the payload sent to the Codecov service. The beginning on the text is just a list of files, so scroll down to the <<<<<< network delimiter and you'll see the XML under it.

I also filed an issue over @ MyPy, as it seems to be violating the spec: python/mypy#17689.

So python/mypy#17738 has been merged yesterday. Once it gets released, we'll be able to re-test the compatibility of the produced report.

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days.

Looks like this should be fixed in v1.12.0. Just needs to be tested.