Enable test coverage #176
main.yaml
on: pull_request
lint
14s
coverage
24s
Matrix: test
Annotations
4 errors
|
coverage
Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment
|
|
coverage
HttpError: Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment
|
|
coverage
Permission denied when trying to create/update comment.
This error usually occurs because the GITHUB_TOKEN lacks necessary permissions.
To fix this, add a permissions block to your workflow:
```yaml
permissions:
contents: read # For checkout and comparing commits
pull-requests: write # For creating/updating PR comments
```
For pull request events and more information, see:
https://github.com/MishaKav/pytest-coverage-comment#comment-not-appearing
|
|
coverage
Coverage file "/home/runner/work/pyld/pyld/./pytest-coverage.txt" has bad format or wrong data
|