Warning in Summary if coverage.xml is used
drakulavich opened this issue · comments
Thank you for the great action.
I've added to my GitHub workflow:
- name: Pytest coverage comment
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-xml-coverage-path: ./coverage.xml
junitxml-path: ./pytest.xml
But CI is complaining about pytest-coverage.txt
which is not expected, I suppose.
File "/home/runner/work/REPO_NAME/./pytest-coverage.txt" doesn't exist
You are right, it's a bug. It's a warning and it doesn't affect the workflow in any case.
I will fix it in the next version.
Thanks
Release new version that fix this warning
, you can use:
- name: Pytest Coverage Comment
uses: MishaKav/pytest-coverage-comment@main
or use specific version
- name: Pytest Coverage Comment
uses: MishaKav/pytest-coverage-comment@v1.1.34
Thank you, @MishaKav!
warning
is gone.