Add code coverage badge to the README
See original GitHub issueNow that the test suite is converted over to use Jest and DOM Testing Library, what do you think about adding a code coverage badge to the README to show off the code coverage?
I see in the focus-trap-react
repo we used Codecov along with GitHub Actions for the CI. In this tabbable
repo it’s also using GitHub Actions for the CI, so I assume we can generate the code coverage report there and then feed the results to Codecov, right? Or maybe even generate the badge without using Codecov if that’s not something you want to do, and we could just use GitHub Actions directly?
Thoughts?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
GitHub - dwyl/repo-badges
GitHub - dwyl/repo-badges: Use repo badges (build passing, coverage, etc) in your readme/markdown file to signal code quality in a project.
Read more >Coverage Badge with GitHub Actions - FINALLY!
This is the only documented way to get coverage badges with GitHub Actions. It took a few months of research, trial, and error; ......
Read more >Adding Test Coverage Badge on GitHub Without Using Third ...
It's easy to add test coverage on GitLab using the built-in feature. ... you won't be able to add a badge reference (1)...
Read more >Making a coverage badge | Ned Batchelder
This is a sketch of how to use GitHub actions to get a total combined coverage number, and create a badge for your...
Read more >How to Add Badges to a GitHub Repository
Adding badges to the readme file of GitHub repositories is a common task for ... you can add code coverage to your repository,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here ya go! https://github.com/focus-trap/tabbable/pull/261
Thanks! I’m happy to knock this out. I’ll have a PR up hopefully in the next day or two to get this set up.