Skip to content
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

Break coverage and lines report in two outputs #159

Open
lays147 opened this issue Feb 18, 2025 · 2 comments
Open

Break coverage and lines report in two outputs #159

lays147 opened this issue Feb 18, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@lays147
Copy link

lays147 commented Feb 18, 2025

Hey, it's me again xD

I was testing the latest version of the action, and it looks amazing, however, depending on the size of the project, the output of the coverage and the lines in one could be tooo long. Like on the following example (page on 40% of zoom):

Image

So, I would like to suggest breaking the single report output. One for the coverage and the other for the lines. That would allow people to choose when and how they want to expose this information in the PR.

What do you think?

Cheers!

@vladopajic
Copy link
Owner

i was thinking to add custom markdown formatting of report gh output variable to have some fancy things, like collapsible sections. then uncovered lines could be enclosed in individual section so users can show/hide it separately.

@lays147
Copy link
Author

lays147 commented Feb 18, 2025

I think that you will only be able to do this if you add a feature to your action to comment itself on the PR, this gives you the freedom to manipulate the format of the PR.

Because, manipulating the structure from a json to markdown, it will be tricky. I would go for breaking in smaller outputs and leaving the user to manipulate and format the markdown as it wishes.

@vladopajic vladopajic added the enhancement New feature or request label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants