Hello,
When generating a coverage report with the command
pytest --cov=foo
, CodeCov's GitHub action (v3) successfully picks up the report and uploads it; however, it then reports an error message saying that the coverage report is "empty", which is not true. Through experimentation it seems to correctly parse the report if it's in XML format (generated with
pytest --cov=foo --cov-report=xml
). Maybe the error message should be amended to explain that the coverage report could not be parsed, and maybe the Python examples should require users to generate an XML report if they are using pytest/pytest-cov.