Please check the troubleshooting guide before creating a ticket.
Description
I’m trying to upload a report from a Github action. The report seems to be uploaded correctly, but doesn’t register on CodeCov. When I browse the commit on Github I just see the following:
There was an error processing coverage reports.
Most common issues
File paths are not resolving. Reports are empty or do not contain your files. Report has expired.
Check our error reference.
Please review the following uploads for clues:
Need some help? No problem. Codecov Support
The Github action seems to be run successfully
A few things that I have investigated:
- On my machine, the report generates and looks fine to me
- Looking at the CodeCov bash output and Github action output, it looks like no obvious errors happen during upload
- I am able to see that a report is uploaded to Google storage from CI, here
Repository
https://github.com/audrow/email-keyword-matcher
CI/CD
Github Actions.
Uploader
I’ve tried the CodeCov Github action and using the bash script. See here and here.
Commit SHAs
Commit using the CodeCov Github action:
87bdf2af3ce0b3f1a899bf5b04b94641590e8a4c
Commit using the CodeCov bash script:
081457aaeb48515f3dce5e31fb3d4ce448a2b8c7
Codecov YAML
None
Codecov Output
+ .
-> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
+ ./coverage.xml bytes=3238
==> Appending adjustments
https://docs.codecov.io/docs/fixing-reports
-> No adjustments found
==> Gzipping contents
==> Uploading reports
url: https://codecov.io
query: branch=fix-codecov&commit=081457aaeb48515f3dce5e31fb3d4ce448a2b8c7&build=249275964&build_url=http%3A%2F%2Fgithub.com%2Faudrow%2Femail-keyword-matcher%2Factions%2Fruns%2F249275964&name=&tag=&slug=audrow%2Femail-keyword-matcher&service=github-actions&flags=&pr=&job=&cmd_args=t
-> Pinging Codecov
https://codecov.io/upload/v4?package=bash-20200910-5a68dc2&token=secret&branch=fix-codecov&commit=081457aaeb48515f3dce5e31fb3d4ce448a2b8c7&build=249275964&build_url=http%3A%2F%2Fgithub.com%2Faudrow%2Femail-keyword-matcher%2Factions%2Fruns%2F249275964&name=&tag=&slug=audrow%2Femail-keyword-matcher&service=github-actions&flags=&pr=&job=&cmd_args=t
-> Uploading to
https://storage.googleapis.com/codecov/v4/raw/2020-09-11/7E6DDFBD07E296D56095F3C65E43AF89/081457aaeb48515f3dce5e31fb3d4ce448a2b8c7/774426e1-5f37-4ed8-a081-ae15c61d05a5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200911T153254Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=707f8d070608ac8e656e89f33c8f69d9c8a05e1a8d63e3b477957077bf255ec3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 669 0 0 100 669 0 3655 --:--:-- --:--:-- --:--:-- 3635
100 669 0 0 100 669 0 3655 --:--:-- --:--:-- --:--:-- 3635
-> View reports at https://codecov.io/github/audrow/email-keyword-matcher/commit/081457aaeb48515f3dce5e31fb3d4ce448a2b8c7
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.