lucassabreu / comment-coverage-clover

Github Action that automatically adds a comment with a summary of coverage reports (clover)
https://github.com/marketplace/actions/coverage-report-as-comment-clover
15 stars 4 forks source link

Feature request: displaying only files with less than 100% coverage in the file table #14

Closed Lundis closed 2 years ago

Lundis commented 2 years ago

For larger projects with hundreds of files it offers no value to show the files with 100% coverage in the table. I would like to see only the files that I need to take action on.

For example now it outputs:

file1.php 100%
file2.php 100%
...
file150.php 0%
...
file300.php 100%

I would like to configure it to show only:

file150.php 0%
lucassabreu commented 2 years ago

hi @Lundis i add a new parameter called table-bellow-coverage that you can use to achieve that.

Lundis commented 2 years ago

Wow thanks for the quick implementation! You made a typo though. It should be "table-below-coverage". (bellow means something else)

lucassabreu commented 2 years ago

i fixed the screaming problem hehe, thank you for pointing out