-
Notifications
You must be signed in to change notification settings - Fork 32
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
Logging comment content #422
Comments
If you want to debug the action in depth, one possible way is to fork it, edit your fork, and point your workflow yo the banch you edited on your fork. This way, you can add plenty of logs. If there are things that would deserve being printed for debugging, don't hesitate to make a PR adding |
I see you mention the Basic usage without external contributors, but your workflow looks a bit more like the Merging multiple coverage reports one. That's a bit more added complexity, and yet it doesn't seem like you're using a matrix. I'm not sure I understand you make it this way? |
Thanks, @ewjoachim . I'll fork it and add some logs. In fact, the |
I'm creating a workflow for a private repository using the Basic usage without external contributors yml as an example. The
coverage.json
file appears to have been created as expected (I added an extra step afterpy-cov-action/python-coverage-comment-action@v3.23
that runscoverage json -o coverage.json
and then uploaded it to Github). But the comment continues to be generated with a 100% wrong coverage rate.Investigating the package code, I was unable to discover the possible error. Is it possible to add logs that print the
comment
orcoverage
variables in theprocess_pr
method? This will help me a lot.The
totals
attribute from the coverage.json is:The text was updated successfully, but these errors were encountered: