tj-actions/coverage-badge-py

[Feature] Support for different badge styles

WithPrecedent opened this issue · 1 comments

Is this feature missing in the latest version?

  • I'm using the latest release

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

  • I agree to follow this project's Code of Conduct

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