Description
We recently noticed that our coverage reports have stopped uploading. In tracking this down, it seems to be due to the release of version 0.2.0 of the uploader 8 days ago. Even when specifying the full filepath to the xml output file (we previously specified file: ./coverage.xml
), the uploader still fails to see it. Additionally, trying to use the version
argument to codecov-action
to force it to use the last working version results in an error:
Run codecov/codecov-action@v2
==> linux OS detected
https://uploader.codecov.io/0.1.22/linux/codecov.SHA256SUM
Error: Codecov: Error validating uploader: Misformed armored text
Note that I’ve tried this with both v2 and v3 of codecov-action
.
CI/CD URL
Codecov Output
================== 241 passed, 1 skipped in 256.28s (0:04:16) ==================
py39-test-alldeps-cov run-test: commands[2] | coverage xml -o /home/runner/work/jdaviz/jdaviz/coverage.xml
Wrote XML report to /home/runner/work/jdaviz/jdaviz/coverage.xml
___________________________________ summary ____________________________________
py39-test-alldeps-cov: commands succeeded
congratulations :)
Run codecov/codecov-action@v3
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (cae21e490c24b05c3802c7001a1540a7f83d46cb4f1eadf14e76627094c65cb8 codecov)
==> Running version latest
==> Running version v0.2.0
/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov -n -Q github-action-3.1.0 -f /home/runner/work/jdaviz/jdaviz/coverage.xml -C 317837f557b9abb8aaa7315db8a8fa0b6a99c64e
[2022-04-29T18:15:02.019Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.2.0
[2022-04-29T18:15:02.028Z] ['info'] => Project root located at: /home/runner/work/jdaviz/jdaviz
[2022-04-29T18:15:02.030Z] ['info'] -> No token specified or token is empty
[2022-04-29T18:15:02.138Z] ['info'] Running coverage xml...
[2022-04-29T18:15:02.247Z] ['info'] Searching for coverage files...
[2022-04-29T18:15:02.305Z] ['error'] None of the following appear to exist as files: /home/runner/work/jdaviz/jdaviz/coverage.xml
[2022-04-29T18:15:02.305Z] ['error'] There was an error running the uploader: Error while cleaning paths. No paths matched existing files!
Expected Results
We can upload our coverage reports with the tools provided, the version
argument in codecov-action
works.
Actual Results
See above.