tj-actions / coverage-badge-py

:octocat: Github action to generate coverage badge without uploading results to a 3rd party.
MIT License
56 stars 19 forks source link

[Feature] Support for different badge styles #145

Open WithPrecedent opened 11 months ago

WithPrecedent commented 11 months ago

Is this feature missing in the latest version?

Is your feature request related to a problem? Please describe.

I believe this Action currently forecloses users from changing the style, logo, color, etc. of the coverage badge.

Describe the solution you'd like?

I'd like to either have parameters in the Action that allow for different badge styles to be supported (flat, flat-square, for-the-badge, plastic, and social) or to allow the badge to be altered through normal badge parameters (e.g., "&style=for-the-badge") by the end user.

Describe alternatives you've considered?

I have looked at the various actions that create coverage badges, but they all seem to rely on external services (or Gists), except for this one.

Anything else?

I've created a cookiecutter template (https://github.com/WithPrecedent/snickerdoodle) and would love to make use of this Action because it fits with the overall goal of not requiring external services. However, I offer users of the template the ability to change the style of their badges. The coverage badge is the only one that I cannot make work with in that manner. I think this Action is ingenuous and very valuable - I appreciate the effort.

Code of Conduct

github-actions[bot] commented 11 months ago

Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience.