PerlToolsTeam / dashboard

Simple code build dashboard
18 stars 28 forks source link

Codecov.io support #4

Closed tobyink closed 3 years ago

tobyink commented 3 years ago

I started using codecov.io instead of coveralls.io for a repos during a long period the coveralls.io website had issues with sorting/filtering files to see which had worst coverage. (They've fixed the issue now, but it persisted for months!)

It is still pretty valuable to have. Coveralls.io only checks each line is covered; codecov.io tracks branch conditions, so in foo() ? bar() : baz(), codecov.io will only be happy if both the bar and baz functions get called.

Example of codecov: https://codecov.io/gh/tobyink/p5-type-tiny

davorg commented 3 years ago

Can you give me an example of the URL of a codecov.io badge?

tobyink commented 3 years ago

https://codecov.io/gh/tobyink/p5-type-tiny/branch/master/graph/badge.svg

davorg commented 3 years ago

Ok, I think that's working. But I can't be sure as I don't have any repos using Codecov. Do you want to give it a try?

tobyink commented 3 years ago

Yep, seems to work.