The statements counters are not update when using coverage.xml
Closed this issue · 1 comments
ricardolsmendes commented
Hi there!
I've set up this action in one of my repos and pytest-xml-coverage-path
is my preferred option to handle the output of pytest-coverage. However, I noticed the stmts
counters are always 0 at the file level in the coverage report, as shown in the below screenshot:
I guess I found the root cause and will submit a fix soon.
MishaKav commented
I merged your changes and release a new version, which 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.43
Thanks again, for the contribution!