-
Notifications
You must be signed in to change notification settings - Fork 321
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
add badges, minimal codecov, mk2 #352
Conversation
Oooh, i do see a check already (presumably because 99ba18e was already reported on). |
Cool. So this PR now shows all the bells and whistles. We can turn them down by customizing a The goal on this isn't to make anybody bad about their contributions, but rather to help reduce any back-and-forth of hey, it'd be nice if we had a test for this new whizzbang feature. |
Personally, I would maybe prefer to only have the codecov status check, and not the comment (my experience with codecov from other projects is that the commenting can be quite noisy ..) |
Great, I'll see if I can find the knobs to turn it down to just show the
red x in the checks.
|
FYI, in the "files changed" view of PRs, you can show/hide codecov's (and everyone else's) comments by pressing "a". My personal experience (with codecov in MNE-Python repo) is that the inline comments can be helpful if there's just one or two of them, but more than that and they quickly become a nuisance. Learning the "a" shortcut allowed us to keep inline comments turned on. |
Why would this PR trigger any |
I added the update: took it out again so it should come up ✔️ |
Ha, i deleted the comment, and it put it back. But have pushed with a minimal codecov. Guess if i delete it again (after it reports) it shouldn't put it back.
I do find the annotations useful, but we'll see how it plays out. |
Ok, it reported, threw the threshold flag. Will try re-deleting the comment, maybe re-kicking... |
I do think it would be good to put the |
@bollwyvl wanna open up an issue for "improve test coverage and add the flag bag in when that happens"? I'm assuming this is ready to go otherwise? |
Yeah, this one is ready to go, and we can see whatever other things we want
to tweak.
If I'm taking a real run at coverage on a project, I usually reach for
hypothesis... The question is just how much we can do when sphinx is in the
loop, for the reasons mentioned elsewhere, mostly performance... If it's
touching disk, it's probably too slow to be worth it. Will issue up.
|
cool - thanks for adding this! |
hoping to see coverage reports here 🤞