MishaKav / pytest-coverage-comment

Comments a pull request with the pytest code coverage badge and full report

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some output values return empty

0x78f1935 opened this issue · comments

Weirdly enough my output variables are empty. I'm sending the test results into MS-Teams.

image

image

The comment itself seems to generate nicely.
image

The coverage step:

    - name: Pytest Coverage Comment
      id: coverageComment
      uses: MishaKav/pytest-coverage-comment@v1.1.45
      with:
        pytest-xml-coverage-path: ./htmlcov/coverage.xml
        title: PyTest Coverage
        badge-title: PyTest Coverage
        default-branch: ${{ github.ref }}

Am I missing something?

Outputs that you want are under junitxml-path as you can see here, you can see how to get it in first usage example