-
Notifications
You must be signed in to change notification settings - Fork 207
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
inconsistencies with CodeCov rejections #810
Comments
I'm afraid this is blocking Mapknitter 3 launch, so I'm going to try to turn down the strictness of CodeCov blocking PRs for coverage... at least for now! But I don't think it's really working properly -- for example, https://github.com/publiclab/mapknitter/pull/811/files really won't drop coverage by almost 5% -- that can't be right! |
OK, so i turned
|
OK, so for example, this doesn't make sense - we aren't substantially changing anything but an HTML fragment, but it's reporting a near 7% drop in coverage. I need to merge that PR to publish MapKnitter so I think i'll override with my admin privileges, because the 7% drop can't be correct. Thanks for any help! |
This is really weird.. It makes sense that coverage shouldn't drop by two percent for #801 I generated the reports locally to confirm this. |
But I think we should turn on |
Some files' coverage drops to 0%. Maybe there is some corruption with the reports? Maybe we could try using a different generator, if the problem still persists |
I think before "patch" was failing, now "project" is. Can you try opening a
few PRs to test out more? It is weird! And just noting that not every PR
will have tests, like HTML or CSS changes might not. Often this falls in
the margin allowable like if we allow variances of up to 1% in coverage,
you know?
…On Sat, Jul 6, 2019 at 7:45 AM Kaustubh Nair ***@***.***> wrote:
Some files' coverage drops to 0%. Maybe there is some corruption with the
reports? Maybe we could try using a different generator, if the problem
still persists
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#810?email_source=notifications&email_token=AAAF6J57ZRLAWBCI3RC5RTDP6CASZA5CNFSM4H6NO6OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZKYAHI#issuecomment-508919837>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6J75PAQ4TJQJWJ5Q7HTP6CASZANCNFSM4H6NO6OA>
.
|
Reopening because we're still facing this in #867 |
@alaxalves @publiclab/mapknitter-reviewers Need some help with this issue. Haven't found anything to solve it after a lot of trying |
@kaustubh-nair this is a complete shot in the dark but remember this custom rake task file mapknitter used to use to run its tests: https://github.com/publiclab/mapknitter/blob/main/lib/tasks/test_unit.rake Perhaps you can use it to verify if the problem is a race condition - by running with Travis the different configurations it offers? I remember it helped uncover a previous race condition issue in our tests months ago! |
Oooh might me a possibility! |
Possibly in relation to #747, I'm seeing that some PRs are blocked if they have no tests, which is fine, but that when adding tests,
Why might CodeCov be varying in its reporting? cc @kaustubh-nair
Thank you!
The text was updated successfully, but these errors were encountered: