-
Notifications
You must be signed in to change notification settings - Fork 26
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
fix(clang-tidy): make clang-tidy workflow fail only when it reports errors #306
Conversation
…rrors Signed-off-by: veqcc <[email protected]>
@xmfcx |
I'll create a branch and point here in universe to test 👍 |
Could you make it so that it will still export the fixes with the It can still check for the existence of your new report file. The fixes file can be used to apply fixes and provides a structured output. |
Here you can download the artifact. Maybe we could use the fixes file and search for |
I'm not sure so need some investigations how the followings are denoted in yaml file:
|
Quick investigation revealed that the warnings with |
Signed-off-by: veqcc <[email protected]>
done in 90a0f2a |
Description
Related PR:
The current clang-tidy fails when there exists a
fixes.yaml
.It leads to the CI failure even when clang-tidy reports only warnings.
I have changed it so that the CI fails only when it reports errors.
@xmfcx
The way I used whether clang-tidy reports an errors is the following:
I'm not sure there is a better way, so please review it carefully. Thank you in advance!
Tests performed
Not applicable.
Effects on system behavior
Not applicable.
Interface changes
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.