-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Include warnings-count in report #86
Comments
I think this request is more specific to the compile-sketches action. The name of this action (report-size-deltas) does not infer anything about reporting compiler errors/warnings. It might be easiest to alter compile-sketches action to emit a warning/error message (visible in CI workflow's run summary page), but this idea is incapable of emitting multi-line messages (needed for including the compiler warning/error message). Note Some preliminary research about this feature has been done in arduino/compile-sketches#27 |
You are right, the name report-size-deltas would be off, if this feature was included. OTOH it would still serve a very similar purpose in the development workflow: Automated monitoring of the quality implications of a change / PR. Whatever the naming, it would be useful to a project maintainer to have all such information in one place. This is the reasoning that led me to file my wish, here. |
FYI, the reports (json artifacts) that this actions needs from the compile-sketches action does not include the error/warning info you wish to be reported. I still think this request is beyond the scope of this action. It seems like you just want an action to post a comment with all the info you want in it. |
They do (if enable-warnings-report is enabled). Example artifact: https://github.com/sensorium/Mozzi/actions/runs/9160671044/artifacts/1519589989 . Abbreviated excerpt for one sketch:
|
Describe the request
The compile-sketches actions allows the option enable-warnings-report in addition to enable-deltas-report.
Please include that info in the summary posted to PRs. In particular in a matrix build, involving different compilers, it is very useful to spot new (platform specific) warnings, quickly.
Describe the current behavior
This action only posts a readily visible summary of the size-deltas, while - AFAICS - the count of warnings can only be found looking at the action logs itself, which is not very visible, and not very helpful, when dealing with a matrix build.
'arduino/report-size-deltas' version
1
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: