Can see report contents in CircleCI but Codecov shows "There was an error in processing reports"

Description

I can output the contents of the created report with lcov --list coverage.info in the runner on circleCI, and the upload to Codecov looks to finish without error, but the report on Codecov has the message “There was an error in processing reports”.

I’m not sure how to debug this further.

Repository

Versions

OS - Fedora 31 (fully updated)
Browser - Firefox 74.0

Additional Information

Latest commit is here, and code coverage is done on the GCC debug build

https://app.circleci.com/pipelines/github/php1ic/inch/107/workflows/2489f59a-78a9-4d62-b833-4cd5d8af9fcf/jobs/403

I got this working by using to the coverage orb on circleCI.

Can’t see why that upload works but the other method doesn’t. As far as I can tell the only difference is that the orb uses a pipe when the docs and github example redirect the curl command into bash. Perhaps a difference between circleCI and travis?

Happy to mark this as solved. Working config is here in case anyone struggles with this in the future.