-
Notifications
You must be signed in to change notification settings - Fork 229
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 #338, Add MISRA Addons for cppcheck #339
Fix #338, Add MISRA Addons for cppcheck #339
Conversation
7f5f250
to
a14e940
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we are allowed to publish MISRA rules, also it looks like the check is just running against misra-test.c. I recommend starting with a local report and doing some analysis there prior to pushing it into CI...
a14e940
to
49dd75e
Compare
@skliper See new changes. Created a separate job for misra rules. Ran misra analysis against bundle, cfe, osal, and psp instead of misra-test.c. |
It's great work, I'm just concerned it may be a little premature to put into CI to run on every push from a project management perspective since we don't really have a plan in place with what to do with the actual results within the repo management process. Maybe make into an action that just gets triggered manually? |
49dd75e
to
91c54eb
Compare
Updated to trigger workflow manually. |
Sorry, I meant trigger the MISRA check as manual. The normal static analysis should still be in the normal push/merge flow since we do need to enforce it. |
So have a separate workflow for the misra analysis that runs manually? |
37d2d78
to
33e0c1e
Compare
33e0c1e
to
6852d22
Compare
Checklist (Please check before submitting)
Describe the contribution
Fixes #338
Testing performed
Tested on forked repo: https://github.com/ArielSAdamsNASA/cFS-JSF-Rules/actions/runs/1143235812
Expected behavior changes
Runs MISRA rules for bundle, cfe, osal, and psp. Has a job for regular "clean" cppcheck and misra cppcheck.
Additional context
Future work includes:
Contributor Info - All information REQUIRED for consideration of pull request
Ariel Adams, ASRC Federal