-
Notifications
You must be signed in to change notification settings - Fork 4
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
Replace tools/code_check.sh with 'make codecheck' #26
Conversation
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.
does anyone know how to test this/would anyone be willing to test this?
You can create a branch on any Ignition library and update actions to use this branch, for example:
Actions will be triggered on push, so you can see the results on that commit and don't need to open a PR.
once this is merged and ign-cmake-2.6.0 is released
It's already out 😉 http://packages.osrfoundation.org/gazebo/ubuntu-stable/pool/main/i/ignition-cmake2/
we will need to update all affected repositories
Yup, but you did a good push on this a while back, right? So I think we may be able to just get this in and deal with the fallout? 😏
Signed-off-by: Ashton Larkin <[email protected]>
Signed-off-by: Ashton Larkin <[email protected]>
Signed-off-by: Ashton Larkin <[email protected]>
I went ahead and ran a few tests in
So, unless anyone notices a test case that is missed, I think this is ready for review. |
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.
Let's do this! I say we just pull the trigger and deal with the fallout, in case there's any. Otherwise we'll always be chasing a moving target, because there are PRs being merged after we fix the checker.
a997193
to
9dd345d
Compare
Signed-off-by: Ashton Larkin <[email protected]>
9dd345d
to
b3c9314
Compare
I think |
With the new
ign-cmake
release coming out (2.6.0
- gazebosim/gz-cmake#131), we should runmake codecheck
in GitHub actions instead of runningtools/code_check.sh
so that we can make sure users are adhering to the new code checker introduced in gazebosim/gz-cmake#117.I haven't tested this locally because I'm not sure how to, since it's a change for GitHub actions... does anyone know how to test this/would anyone be willing to test this?
Also, once this is merged and
ign-cmake-2.6.0
is released, we will need to update all affected repositories to make sure that CI isn't broken due to being unable to passmake codecheck
in GitHub actions (most repositories were already updated a few weeks ago in anticipation for thisign-cmake
release, but I'm sure changes have been made to these repositories since things were updated a few weeks ago).Signed-off-by: Ashton Larkin [email protected]