-
Notifications
You must be signed in to change notification settings - Fork 225
No coverage files found #537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@YonatanKra have you tried without specifying |
Hi @thomasrockhu I have the same problem. When I do:
it works but this github action responds with: - name: Upload code coverage to codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/lcov.info
flags: js_open_source
name: memoria
verbose: true [2021-09-29T12:40:26.420Z] ['error'] There was an error running the uploader: No coverage files found, exiting. This is very, very disappointing.. Example CI run: https://github.com/izelnakri/memoria/runs/3744223692?check_suite_focus=true |
@izelnakri I noticed that the CI run you posted doesn't have the Also, do you have a run of |
Yes I tried all the cases, and spent several hours learning/investigating codecov packages/ecosystem still no success. There needs to be certain simplications/better simple decisions in the future, which signals a room for improvement in codecov development team:
Onboarding and tools need to get better. |
@izelnakri totally get it, I realize that it's frustrating to get this working for you right now. I asked for the CI runs above so that I could help debug the issue for you. If you could provide those runs, that would be very helpful. |
Hi @thomasrockhu the CI build I linked is completely containerized and by telling this to you now I realized what could be the problem :) However my suggestions above are valid, the error output should have been clear here: https://github.com/izelnakri/memoria/runs/3748652052?check_suite_focus=true With this bug I just found an even bigger issue, this github action doesn't work in containerized environments. I'm also hitting right now this issue on my container when I try to do |
I had the same issue, but just now got it to work by specifying the whole path for Before finding the workaround, I tried the version from the README.md ( |
I have the same problem with a directory specified, but nothing is uploaded "no files found". |
I have what looks like the same problem - my GH Action workflow uploads correctly on linux, but on Windows the same workflow fails with:
I'm specifying the coverage.xml file with "files: " and not using "directory: " |
Closing out due to age. If you are still experiencing an issue, please open a topic on our community boards |
Hi,
I'm running the action like this:
I'm getting an error:
There was an error running the uploader: No coverage files found, exiting.
I also tried the
directory
path as./coverage/
but to no avail.When I
ls
the./coverate/
folder, I see the file exists:Any idea on how to solve this?
The text was updated successfully, but these errors were encountered: