codecov-action icon indicating copy to clipboard operation
codecov-action copied to clipboard

`env_vars` input has no visible effect on Codecov UI

Open vivodi opened this issue 7 months ago • 1 comments

According to the README, the env_vars input is described as:

Environment variables to tag the upload with (e.g. PYTHON | OS,PYTHON)

However, after uploading coverage reports with env_vars set, I can’t find these variables reflected anywhere on the Codecov UI. It seems like setting env_vars has no effect.

Here is an example coverage report where I configured env_vars: 🔗 https://app.codecov.io/github/vivodi/Flexget/commit/ff609bf951cbd68f710a02de2f9dab299f0674fe

Image

- name: Upload coverage to Codecov
  uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d  # v5
  with:
    env_vars: OS,PYTHON
    fail_ci_if_error: true
    token: ${{ secrets.CODECOV_TOKEN }}

You can find the full GitHub Actions workflow here: https://github.com/vivodi/Flexget/actions/runs/15089429373/workflow?pr=13

Could you tell me what the purpose of setting env_vars is?

vivodi avatar May 17 '25 22:05 vivodi

What’s the recommended thing to do when you have multiple uploads?

  • env_vars is broken
  • what’s name for?
  • using multiple flags seems to be wrong: grafik

flying-sheep avatar Nov 11 '25 14:11 flying-sheep