-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create multiple badges for README.md #43
Comments
Hi there @oguzsh thanks for the issue. By any chance, are those coverages from different projects, this, different coverage Istanbul reports? Currently it is not available to fulfill the README from different reports. @venturalp so you see a way to achieve such thing? @oguzsh please correct me if I got it wrong. |
Same project but different coverage reports. I got coverage1.json and coverage2.json files and I need to separate these reports in README.md file |
Hmm as I feared. It's not possible as it is. Would you be so kind by thinking of a way and opening a PR having backwards compatibility in mind? We'll try to figure it out too. |
Maybe I can combine these reports then I will have just one coverage report. But I am gonna think about how can i use different reports in just one README.md then create a PR. Thanks for your answers! |
@oguzsh did you manage to think of a way into achieving this behavior? I think we could be closing this issue. |
Maybe, project can give multiple arguments in the command line then you can handle according to how many input file exists on args. When you take these inputs and add them to the array, you can create a template for every file coverage report. In this way, you can push these templates on a README.md file with one per newline space. Example : This is just an idea I didn't code this feature at the moment coz I am so busy for now. But if you wanna handle this, you can 💯 |
Hey!
I wanna create multiple coverage reports then I need two different markdown templates in README.md. How can I do that?
Example:
The text was updated successfully, but these errors were encountered: