py-cov-action / python-coverage-comment-action

Publish coverage report as PR comment, and create a coverage badge & dashboard to display on the Readme for Python projects, all inside GitHub without third party servers
https://github.com/marketplace/actions/python-coverage-comment
MIT License
84 stars 32 forks source link

Improve error message in case of version mismatch #500

Open ewjoachim opened 2 days ago

ewjoachim commented 2 days ago

The coverage package mismatch - coverage pkg I used to generate the .coverage file was different from the one used in the action (minor version was different).

Originally posted by @dmitry-olefir-snkeos in https://github.com/py-cov-action/python-coverage-comment-action/issues/303#issuecomment-2467488861

ewjoachim commented 2 days ago

I'm guessing that there might be quite a few cases where it might fail, apart from version mismatch, actually. We should try and detect at least some of them.