-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI code coverage fails on external PR #25
Comments
Maybe it is a permissions issue, see the example https://github.com/MishaKav/pytest-coverage-comment/blob/main/.github/workflows/live-test.yml |
@bklebel would you mind to open a PR with any change in order to test, whether the code coverage comment is generated as expected? |
sure, I now opened #27, with small changes to the |
Thanks. |
Here's the main issue: MishaKav/pytest-coverage-comment#68 Notes:
|
In order to run the coverage after a merge, it is necessary to allow to write to contents (#29). We have to find a way to allow these comments to prs from foreign forks. |
seems like you tracked it down. Do you want me to make another PR? Or is there something still unresolved? |
I could reproduce it myself doing a PR from a branch in my personal fork (instead of from a branch in the pyleco repo).
That is still open and I do not know the answer. |
In PR #24 , CI code coverage fails on the step creating a code coverage comment: https://github.com/pymeasure/pyleco/actions/runs/7687429088/job/20947438797?pr=24
It's job execution "#124"
A stop gap measure could be to make the "code coverage comment" optional, such that the other steps (badge creation) are still executed.
The text was updated successfully, but these errors were encountered: