cookie icon indicating copy to clipboard operation
cookie copied to clipboard

Add codecov badge to README.md

Open nstarman opened this issue 9 months ago • 3 comments

Just noticed in one of my projects that there isn't a badge for code coverage. I can open a PR if you're interested.

nstarman avatar Apr 27 '24 21:04 nstarman

is there a way to reliably pre-produce a working codecov link for a project for the badge?

phinate avatar Apr 30 '24 18:04 phinate

I believe so: https://codecov.io/<codehost>/<orgname>/<reponame>/\branch/<branchname>/\graph/\badge.svg?

(see https://docs.codecov.com/docs/status-badges)

nstarman avatar Apr 30 '24 20:04 nstarman

I think that would make sense. Long term, I'd like some sort of "checkbox" feature where things could be selected or deselected, then codecov could be an option. But I think we are somewhat suggesting codecov at the moment. So a badge makes sense. It could be removed more easily than added.

henryiii avatar Apr 30 '24 21:04 henryiii