MishaKav / pytest-coverage-comment

Comments a pull request with the pytest code coverage badge and full report
MIT License
181 stars 60 forks source link

Multiple Comments #66

Closed colin99d closed 2 years ago

colin99d commented 2 years ago

When using the coverage commenter a new comment is added each time. This happens regardless of whether create-new-comment is set implicitly or explicitly. Feel free to checkout out this pr to see what I mean: https://github.com/OpenBB-finance/OpenBBTerminal/pull/1740

MishaKav commented 2 years ago

it create multiple comments when it runs on push event (each comment belongs to each commit). If you will run it on pull_request only, then it will update the last comment.

colin99d commented 2 years ago

Great to know! Thanks for the insight.