There was an error processing coverage reports. - always empty

Before submitting a topic, please confirm the following

I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have filled out the below sections to the best of my ability.

Description

I recently switched from CircleCI to Github Actions. It was working fine with CircleCI, but I can’t get it to work with GithubActions. I tried a variety of ways

  1. using exact same tools as used on circle ci. Specifically the uploader came from pip install codecov. no errors in the log, but empty upload error
  2. still using the same code generator as circle ci, but switched to codecov/codecov-action@v3 as uploader.
    a) I tried without the files key and setting working directory → didn’t work at all.
    b) with files pointing to .coverage → upload success, but error processing on website
    c) as I was also generating html pointed it to /htmlcov/ thinking the old codecov tool might take it from there. Learned .coverage and .html are not supported . Unclear how the old codecov tool worked but result the same as in b)
    d) changed coverage generator to output json, cat coverage.json in the generation step to confirm it has content prior to uploading → still same result as b) & c)
    e) did a test by not specifying files, uploader automatically finds coverage.json but still same result as b, c, d

I’m close to start looking for a different coverage provider, but at the same time giving it a final chance trying to get help here

CI/CD URL

Codecov Output

Run codecov/codecov-action@v3
  with:
    files: coverage.json
    working-directory: ./mamba/
    env_vars: OS,PYTHON
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (66cbf87269acc529c87f6ea29395ba329f528e92cfda4fc199eab460123e18b6  codecov)
==> Running version latest
==> Running version v0.2.5
/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov -n  -Q github-action-3.1.0 -e OS,PYTHON -f coverage.json
[2022-08-02T19:13:24.621Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.2.5
[2022-08-02T19:13:24.643Z] ['info'] => Project root located at: /home/runner/work/neo-mamba/neo-mamba/mamba
[2022-08-02T19:13:24.644Z] ['info'] -> No token specified or token is empty
[2022-08-02T19:13:24.656Z] ['info'] Searching for coverage files...
[2022-08-02T19:13:24.930Z] ['info'] => Found 1 possible coverage files:
  coverage.json
[2022-08-02T19:13:24.931Z] ['info'] Processing /home/runner/work/neo-mamba/neo-mamba/mamba/coverage.json...
[2022-08-02T19:13:24.936Z] ['info'] Detected GitHub Actions as the CI provider.
[2022-08-02T19:13:24.938Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.0-uploader-0.2.5&token=*******&branch=fix-codecov&build=2784603360&build_url=https%3A%2F%2Fgithub.com%2FCityOfZion%2Fneo-mamba%2Factions%2Fruns%2F2784603360&commit=53890c11780e8767eff9a37c6e9c3fbbc80e1349&job=CI&pr=&service=github-actions&slug=CityOfZion%2Fneo-mamba&name=&tag=&flags=&parent=
[2022-08-02T19:13:25.595Z] ['info'] https://codecov.io/github/CityOfZion/neo-mamba/commit/53890c11780e8767eff9a37c6e9c3fbbc80e1349
https://storage.googleapis.com/codecov/v4/raw/2022-08-02/4C89B81F5F3E82CAEB1771D70DC6958A/53890c11780e8767eff9a37c6e9c3fbbc80e1349/5f03ed14-df09-4cd2-ac24-26534348933f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220802%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220802T191325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7bd65c3f0e8d2aa5a98b28548a95572ccb360fc00df9181fb12a7c6098b46bd7
[2022-08-02T19:13:25.595Z] ['info'] Uploading...
[2022-08-02T19:13:25.794Z] ['info'] {"status":"success","resultURL":"https://codecov.io/github/CityOfZion/neo-mamba/commit/53890c11780e8767eff9a37c6e9c3fbbc80e1349"}

Expected Results

have coverage results working

Actual Results

upload is empty

Additional Information

surprisingly on the codecov website it says CI failed

whereas on Github it shows it didn’t
ci: fix codecov source by ixje · Pull Request #175 · CityOfZion/neo-mamba · GitHub (can’t add 2 images, so linking to the PR)

nevermind, moved away from codecov to an alternative provider.

@ixje I’m sorry this took us so long to get back to you about. If you do decide to use Codecov again, I think you are missing a coverage xml step before running the uploader.