Open NatsuOnFire opened 6 hours ago
@NatsuOnFire can you share how you are calling the action? e.g.
- uses: codecov/codecov-action@v5
with:
...
I also encountered this error when using multiple env_vars:
==> Running do-upload
./codecov do-upload --env OS PYTHON_VERSION --gcov-executable gcov --git-service github
info - 2024-11-15 01:38:17,144 -- ci service found: github-actions
warning - 2024-11-15 01:38:17,152 -- No config file could be found. Ignoring config.
Usage: codecov do-upload [OPTIONS]
Try 'codecov do-upload -h' for help.
Error: Got unexpected extra argument (PYTHON_VERSION)
Here is my action config:
- name: Upload coverage report
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS,PYTHON_VERSION
@yanyongyu thanks, looking into that now
@yanyongyu https://github.com/codecov/wrapper/pull/23, this should be deployed tomorrow (following a bump of the action as well)
Hi
In v4, i have this as result :
And in v5, I have this :
The error isn't very explicit, what's missing to make it work with v5?
@codecov/report-upload