Closed sertxudev closed 2 years ago
hi @sertxudev, just to be sure i understood it, you wanna a option to hide files that have "0 lines" like the RepositoryNotFoundException
right?
to hide the MergesPdfs
you can use the only-with-cover
input.
Yeah, that's right.
@sertxudev i created a new input "only-with-coverable-lines", please take a look if it solves this problem
Nice work @lucassabreu.
I've checked the only-with-coverable-lines
input in one of my projects and now the table it's showing 41 files, instead of the 66 shown previously, that's 25 non-coverable files removed from the table.
I'm adding the new input to another four projects.
Thanks! 😄
Hi, thanks to this GitHub Action I'm able to review the coverage of my projects.
I was wondering if there's a way to hide the empty files from the report comment.
For example, those four files have no content inside.
On the other hand, this file has some code but no line is being tested.
As you can see both examples are shown in the table report. I'm currently hiding files with more than 95% tested, and I wanted to hide the four files without code.
MergesPdfs.php
RepositoryNotFoundException.php
Maybe the action could check if the values
classes
,methods
,conditionals
,statements
and/orelements
are 0, to know if the file is indeed empty.