-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Error: No files found matching glob pattern. #268
Comments
This issue started for me today as well when trying to update coverlet.collector from 6.0.0 to 6.0.1
|
Same output for me. Commenting here to follow along on any possible updates. One thing I noticed, my generated
@sgoldberg-polaris @reshad-equinix, can you confirm on your end if you're experiencing the same? UPDATE: Error: No files found matching glob pattern. |
I never got it to work and I have given up on this.
I also know for sure the file I was passing does exist. I can buy the argument that it's missing something. |
Me too. |
I rolled back the coverlet.* version from 6.0.2 to 6.0.0 and the problem remains. |
I suspect this is due to an external As this user would say: “Apparently the solution was to create a bind mount from the container to the host, so the coverage reporter can access.” |
I amend the statement I made earlier. When I use a When I use an When I use About the coverage/coverage.cobertura.xml file path: After executing the I execute the So |
I was just about to comment the same... It looks like because this is a docker-based container, the work dir might be mounted under a slightly different path so it's imperative to pass relative paths for this to work. It could be documented better, though. |
Anyone with a solution to this? |
@webknjaz, see the solution on this thread (worked for me): Hope it helps 🙏🏼 |
Thanks! Not sure it's the same situation as mine works perfectly until I drop it into a self-hosted runner that's already within docker. |
I Solved it. In my case, it was a misspelling of the coverage filename. |
As others have said, the fact that the github action runs as a docker container messes up the paths and the filename parameter isn't what you'd expect it to be (read: does not necessarily respect your current working directory and so on). You want to treat the filename parameter as if you are at the root of your repository. In my case, it means changing of course, make sure you don't name your cobertura to a different filename. |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days. |
Please reopen it. |
I am attempting to use CodeCoverageSummary in a very similar way as in https://github.com/irongut/CodeCoverageSummary/blob/master/README.md (the .NET one except I am using Go). I am getting "no files found" even though the file is there. The symptom seems to be the same as what's reported @ https://stackoverflow.com/questions/73543621/coverage-xml-output-file-is-not-seen-in-github-actions-uses, is this an environment specific issue? Or is the example in the README not working as-is?
The text was updated successfully, but these errors were encountered: