-
Notifications
You must be signed in to change notification settings - Fork 7
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
0% coverage report from codecov #13
Comments
Hmm, I am not sure what the problem here is. The unit tests seem to run and a coverage report is uploaded. But I noticed a warning in the codecov action: I don't know if it is related, but have you tried checking out your repo with |
Good catch but no luck. The warnig is now gone but still getting a 0% coverage... 😢 |
Hmm, maybe its just your one PR that is stale since some of the previous uploads to codecov didn't succeed:
So with some luck, it will work on subsequent Pull Requests. Can you check one more thing? Could you upload the moxunit-action/.github/workflows/test.yml Lines 67 to 83 in 6bb7222
If we have zero coverage in the xml-file, then this is a moxunit/moxunit-action bug. If no, than this is a codecov issue. |
Somehow I am getting the same result on a PR on my own repo...
OK I added the upload artifact... But how do I then view it and where? (I am such a noob 🙈) |
Yeah, it took me a while to find the artifacts as well 😝 They are hidden in the Summary of your action run: https://github.com/bids-standard/bids-matlab/actions/runs/549348089 If you open the file you see that you really have no line hits, so this is not a codecov issue. Seems like we need to dig deeper... 🤷 I will check it out |
Sweet !! Thanks.
Let me know if I can help your search. One possibility: Is the potential issue related to the fact that this "package" code (folder start with "+") ? |
Yes that seems to be the problem. I cloned your repo, removed the |
You're the best !!!! Will raise an issue there!!! |
I am getting some strange reports from codecov from the output from the moxunit-action.
My tests passes, the coverage differences show some changes, but it still tells me I am hitting 0 lines.
See here: bids-standard/bids-matlab#124 (comment)
I could take it up with codecov but I would like to make sure it does not come from moxunit action or moxunit first.
Any idea or pointer?
The text was updated successfully, but these errors were encountered: