pytest-coverage-commentator
pytest-coverage-commentator copied to clipboard
Generate a badge with the coverage %age in it
It would be awesome if you could also generate a badge that we can integrate in the README of our project.
It should be green / yellow / red depending on some thresholds of coverage (80%, 50%?). Maybe these threshold should be customizable?
Here is an example (made with coveralls.io) of the wished result (clickable image):
Have the same issue. Found solution on similar GitHub Action: Pytest Coverage Comment It generates the badge with the right color :)