-
Notifications
You must be signed in to change notification settings - Fork 100
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
Coverage report fails after 65536 characters #10
Comments
I'm having the same issue here with the same validation message. |
Had same problem, and because it looks like this bug is open for long already I forked and modified it to not send link to every line that was not covered. Feel free to use it:
Also this action failed for me when run on below trigger (it assumes that it is pull request), that was also fixed in my fork.
|
@mszlgr would you consider create a PR for this change? |
Any updates on this? |
I do not report the coverage on the PR, but have a github action check & enforce it - its my chosen solution: https://github.com/webcraftmedia/coverage-check-action See it here in action:
If you want the report in the PR commented this is not a valid solution |
Seems @mszlgr just disables the detail (collapsed) table - not a solution, the per-file table is essential IMHO. |
@ulfgebhardt your check action IMHO is better anyway - annotations rule - but unfortunately it's also missing the per-file details table. Would you consider re-adding that? |
@klausbadelt I did not write the |
I've just opened a PR which will Example usage
|
The GitHub comment maximum length is, apparently, 65536 characters (though I suspect they might mean bytes):
Having encountered a coverage report that surpasses this limit, and knowing the repo in question will only continue to have lengthier reports in the future, I'd like to find ways to shorten the report, or possibly split it across multiple comments.
I realize I could resort to an external coverage reporting tool, but I'd prefer to keep everything in one place. (Plus, with private repos, the cost of external tools gets really high really fast.)
The text was updated successfully, but these errors were encountered: