fgrosse / go-coverage-report

A CLI tool and GitHub Action to post Go code coverage reports as comment to your pull requests.
BSD 3-Clause "New" or "Revised" License
53 stars 8 forks source link

Deleted test files do not reduce overall coverage #42

Open mikhail-sakhnov opened 3 weeks ago

mikhail-sakhnov commented 3 weeks ago

Hi!

I noticed that if PR drops test files without changing any actual code files, the changes do not contribute to the coverage score. If it is the only change in a pr, the comment is not even sent, and the CI run has notice "Notice: No coverage report to comment"