Closed icj217 closed 1 year ago
Thanks for the detailed example, I will check the issue and provide a fix soon.
I fix this bug, you can use:
- name: Pytest Coverage Comment
uses: MishaKav/pytest-coverage-comment@main
or use a specific version
- name: Pytest Coverage Comment
uses: MishaKav/pytest-coverage-comment@v1.1.46
__
is used for italic
text in markdown
format, so I escape them all :)
I noticed in testing out this action that links don't seem to work properly to files that contain dunders, e.g.
__init__.py
. See below for details.My XML report shows the filenames correctly:
And here's my action configuration:
The comment is generated properly:
But the links to the
__init__.py
and__main__.py
are the following:Oddly enough, the link to line 2 of
__main__.py
is correct: