vladopajic / go-test-coverage

go-test-coverage is tool and github action which reports issues when test coverage is below set threshold
GNU General Public License v3.0
80 stars 10 forks source link

Fail on coverage on new PR code only #28

Closed aaronryden closed 10 months ago

aaronryden commented 10 months ago

Hello, is there an easy way to configure this great tool to fail on coverage thresholds only on new code added in my PR?

vladopajic commented 10 months ago

@aaronryden hey, unfortunately no :/

asserting coverage change on source code diff is planned feature, but it wont be implemented soon.

vladopajic commented 10 months ago

@aaronryden issue was opened to track effort for this feature https://github.com/vladopajic/go-test-coverage/issues/42. i'll close this issue, but feel free to provide any inputs on new issue.