MishaKav / pytest-coverage-comment

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

Links in Coverage Report are broken #152

Closed SchernHe closed 10 months ago

SchernHe commented 10 months ago

Hey,

first of all thanks for this great action. Really nice to close the gap to the feature in GitLab.

However, it seems the links in the coverage report are not set properly e.g. check-out this link from the README

Is there a possibility to adjust the links in order to actually move to the correct location? So pointing towards the feature branch or main?

Thanks!

MishaKav commented 10 months ago

I'm not sure I got you, but you have a coverage-path-prefix param that can adjust paths to the links. You have some issues when it is discussed:

https://github.com/MishaKav/pytest-coverage-comment/issues/125 | https://github.com/MishaKav/pytest-coverage-comment/issues/92 | https://github.com/MishaKav/pytest-coverage-comment/issues/80