-
Notifications
You must be signed in to change notification settings - Fork 102
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
trying to fix coverage #735
Conversation
I think I just added it...? |
I called it |
I don't think I have the power to rerun the job, and I'd rather not make a dummy commit. You'll have to test it out. |
I cannot tell if anything worked but I think we should separate out the coverage test from the primary test to make things clear. |
I'm not sure how to test this. I ran the same commands locally and I get
Sorry, I haven't used coveralls in a long time and didn't take the time to look up what to do. @mandli the point of this is to report what fraction of the code is being tested. So in a sense they can't be separated. Or do you mean to run all the tests twice? |
You might be able to add the |
So when the build runs, we should end up with info here https://coveralls.io/github/clawpack/pyclaw. If you go under the Actions tab for the repo and rerun the latest build, then hopefully it succeeds at pushing information to coveralls at the end. It failed to do so when I opened this PR (thus kicking off a CI job), because the |
I did restart the action but it just failed out again. I am guessing that it isn't pushing the information to coveralls because of the failure but that sort of does not make sense to me given that you would probably want to have coverage info regardless of the tests failing. |
Hmm. The tests are run with a |
I just restarted it again with debug logging turned on (not sure what that actually does TBH). |
Looks like we just need to fix that test. |
…t there's a failure in the tests
Okay, I spent a while playing with the yml script. If I make the coveralls call its own task and invoke |
I suspect the fact the test is failing with a segfault may make wrapping up the coverage report less likely. If I run locally, one of the |
@pavelkomarov If you rebase this onto main (now that I merged #736) it should avoid the segfault. |
Thank you and nice work, @pavelkomarov ! |
The coverage badge is broken in the readme, and it looks like the last time coverage was successfully used was 2019! I'm attempting a fix by following an old example of mine where I figured this out. I'll need one of you repo maintainers to sign in to the coverage account and generate a token and put it as a secret in this repo, or go look at the repo secrets and tell me what the token is named. (It may already exist.)