Uh oh!
There was an error while loading. Please reload this page.
Enforce 100% test coverage - #380
Conversation
sethmlarson
commented
Sep 24, 2019
@jtmiclat Could you make coverage only apply to Python 3.7+? 3.6 is deliberately missing a large chunk of coverage. |
JayH5
commented
Sep 24, 2019
Is it not possible to get Codecov to enforce coverage? In the past when I have used it it shows up as a CI check next to Travis but maybe it's not configured for that at the moment? |
sethmlarson
commented
Sep 24, 2019
Might require @tomchristie to add a codecov to the org somehow, that's how I'd prefer to handle this as well. |
@sethmlarson Just added skipping 100% enforcement of test coverage for python 3.6! |
lovelydinosaur
commented
Sep 25, 2019
I've generally switched to enforcing it alongside the tests because I found that otherwise we ended up with a large number of pull requests that didn't keep 100% coverage because devs were missing it at the point of commit. Ideally I'd have |
florimondmanca
commented
Sep 25, 2019
I personally enjoy Codecov reports as well for their detailed output and visualization, but agree with Tom that we should detect insufficient coverage as early as possible. Having the tests fail locally in that case is a good way to get that feedback. So... Can we just use both? |
sethmlarson
commented
Sep 27, 2019
Btw I'm working on improving code coverage currently, will submit that change then we can merge this. :) |
florimondmanca
commented
Nov 16, 2019
Doing some cleanup, and I think we're not just ready to turn on 100% coverage yet — still some small additions needed to reach it. I'll close this but we can revisit and see how we'd like to turn on 100% checks later, yes? |
Resolves: #316
Caveats: Currently failing as test coverage is not 100%