GithubHelp home page GithubHelp logo

add codecov.io support about tqdm HOT 10 CLOSED

tqdm avatar tqdm commented on May 21, 2024
add codecov.io support

from tqdm.

Comments (10)

lrq3000 avatar lrq3000 commented on May 21, 2024

Ahhh good old Scrapy! Nice to see the project is still maintained :)

I didn't know about codecov.io, but it looks nice, I particularly like the fact that it gives the coverage rate and diff for each PR.

+1 for codecov.io support, but let's just not become coverage fanatics (I think the coverage failure threshold should be something around 70%~80%, so that experimental branches developping huge new features such as GUI won't systematically be marked as failures).

from tqdm.

casperdcl avatar casperdcl commented on May 21, 2024

👍 to having something slightly lower than 100 to allow for big beta releases, but really these should have at least some major tests so 70% I think is too low.

from tqdm.

hadim avatar hadim commented on May 21, 2024

+1

from tqdm.

lrq3000 avatar lrq3000 commented on May 21, 2024

70% is clearly too low for the stable releases, so ideally, it would be great to have two different thresholds: one at something like 85%~90% for the master branch, and 70% by default for any other branch, so that we could develop experimental features without worrying too much about failing builds. But I don't know if that's possible with codecov.

from tqdm.

kmike avatar kmike commented on May 21, 2024

IMHO all numbers are arbitrary and it is human who should decide if test coverage is enough for a specific case; 100% is also an arbitrary number (it doesn't mean that all cases are covered), but it is at least a bit less arbitrary. Red cross makes wonders :) You can still have Travis build green, but Codecov build red.

from tqdm.

lrq3000 avatar lrq3000 commented on May 21, 2024

Ok then if there's no conflict of build failure between Codecov and Travis then we can set a high bar. I say we set at 90% for now, and we will see later if this needs to be reajusted.

Who want to take care of adding tqdm to codeconv? I tried to do it with my accound but it doesn't work (however I already granted the permission on github organization settings).

from tqdm.

lrq3000 avatar lrq3000 commented on May 21, 2024

Ok I'm doing it, tqdm org is now showing at the top bar of codecov. Must be some delay between granting permission and the update being propagated back to their website.

from tqdm.

kmike avatar kmike commented on May 21, 2024

Works now, thanks! I've enabled 80% incremental coverage build status and PR comments.

from tqdm.

lrq3000 avatar lrq3000 commented on May 21, 2024

Yes all done now, we will see with the next PR if it works correctly with PRs.

OK I also left the 80% threshold (the default value), because it's not a global coverage threshold, but an incremental coverage threshold (ie, the coverage of the newly introduced lines of codes, not the rest!), so 80% is already a pretty high bar in my opinion.

Thank's for the proposition @kmike :) I am also eager to try out the Coverage Suggestions feature :D

from tqdm.

lrq3000 avatar lrq3000 commented on May 21, 2024

I just confirmed it works in PR, so everything's good :)

from tqdm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.