question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request, Coverage Badge/Shield

See original GitHub issue

I am not 100% if this is even doable, but it would be nice to be able to refer to the last action for coverage % and add some Markdown (manually) in the README.md that always points to the latest for main branch.

For the PR we could add that Badge/Shield to the PR comment for current build.

I believe img.shields.io can create custom shields on the fly 🤔

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Bwencommented, Oct 8, 2021

What exactly do you mean with coverage %?

Coverage % = (totalExecutedLines / totalExecutableLines) * 100

Its not really for the PR comment, more to display a Shield in the main README.md branch with total Coverage % of code base…

0reactions
EnricoMicommented, Oct 31, 2021

It could, though this looks a bit out of scope. Any extending contribution welcome.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Welcome to README Coverage Badger - GitHub
Generates a coverage badge using coverage.py and the shields.io service. ... Contributions, issues and feature requests are most welcome!
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 >
Dynamic Badges with Shields.io and Runkit | by Taylor Nodell
First I require request and requestPromise as I'll be making a request to my github data, which has my coverage. I'm running Jest...
Read more >
Badges - GitLab Docs
Badges are a unified way to present condensed pieces of information about your projects. They consist of a small image and a URL...
Read more >
GitHub actions code coverage — Without third parties - ITNEXT
And they come with many advanced features that not everybody needs. For a basic code coverage check on pull requests and a code...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found