MishaKav/pytest-coverage-comment

The statements counters are not update when using coverage.xml

Closed this issue · 1 comments

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:

Screenshot 2023-01-23 at 13 34 22

I guess I found the root cause and will submit a fix soon.

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!