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 validated my codecov.yaml configuration file.
I have filled out the below sections to the best of my ability.
I understand that the community boards are a free, best-effort tool. While we hope to have someone on the Codecov team resolve your problem quickly, this is not always possible.
Description
Despite this happening in an action, it feels like the source of the problem is somewhere in the uploader. It isn’t clear why, though. It says that it failed to find a report file.
I’ve added a debug action, connected via SSH and verified that it’s there. Adding an absolute path via files: doesn’t help either.
I’ve got an impression that the uploader gets lost in the file system and can’t figure out what is the working directory currently.
Run codecov/codecov-action@v3
with:
files: D:\a\setuptools\setuptools\coverage.xml
flags: CI-GHA, test_cygwin, OS-Windows, VM-windows-latest, Py-3.9.16
env:
FORCE_COLOR: 1
MYPY_FORCE_COLOR: -42
PY_COLORS: 1
TOX_TESTENV_PASSENV: FORCE_COLOR MYPY_FORCE_COLOR NO_COLOR PY_COLORS PYTEST_THEME PYTEST_THEME_MODE
PIP_DISABLE_PIP_VERSION_CHECK: true
PIP_NO_PYTHON_VERSION_WARNING: true
PIP_NO_WARN_SCRIPT_LOCATION: true
TOX_PARALLEL_NO_SPINNER: 1
==> windows OS detected
https://uploader.codecov.io/latest/windows/codecov.exe.SHA256SUM
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (7d483480c68dbf470d302f58fe35a73207ae0b91ce2e09233c6ab6cd58e2d6f0 codecov.exe)
==> Running version latest
==> Running version v0.6.2
D:\a\_actions\codecov\codecov-action\v3\dist\codecov.exe -n "" -Q github-action-3.1.4 -f D:\a\setuptools\setuptools\coverage.xml -F CI-GHA -F test_cygwin -F OS-Windows -F VM-windows-latest -F Py-3.9.16
[2023-09-25T15:39:31.390Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.6.2
[2023-09-25T15:39:31.435Z] ['info'] => Project root located at: /cygdrive/d/a/setuptools/setuptools
[2023-09-25T15:39:31.437Z] ['info'] -> No token specified or token is empty
[2023-09-25T15:39:31.494Z] ['info'] Searching for coverage files...
[2023-09-25T15:39:31.543Z] ['error'] None of the following appear to exist as files: D:\a\setuptools\setuptools\coverage.xml
[2023-09-25T15:39:31.544Z] ['error'] There was an error running the uploader: Error while cleaning paths. No paths matched existing files!
The action is currently called with files: ${{ github.workspace }}\coverage.xml, but when I was testing this, just files: coverage.xml or even not having that action input set resulted in the same “not found” behavior.