autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
964 stars 630 forks source link

ci(clang-tidy-differential): point to the new config #7729

Closed xmfcx closed 3 months ago

xmfcx commented 3 months ago

Description

This new config file we are pointing is located atautoware/main/.clang-tidy-ci.

It is supposed to be less restrictive to make it a required check.

And we will make it more strict over time as we adjust existing code to adhere these new standards.

Related links

Follow up from:

Parent discussion:

How was this PR tested?

Notes for reviewers

Interface changes

None.

Effects on system behavior

None.

github-actions[bot] commented 3 months ago

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

xmfcx commented 3 months ago

@veqcc it failed the test:

I think you need to either:

veqcc commented 3 months ago

@xmfcx

@veqcc it failed the test:

I think you need to either:

  • update the config file in autoware/main/.clang-tidy-ci
  • or fix the packages to conform to the new rules before we can make it a Required workflow.

Thank you for informing me! I have confirmed the workflow result. It seems the clang-tidy just warns and invokes no errors, which is the expected behavior. I have to check why the Run clang-tidy step ends up with exit code 1. I'll do it tomorrow 👍

xmfcx commented 3 months ago

I have to check why the Run clang-tidy step ends up with exit code 1. I'll do it tomorrow

This is the reason it is making the job fail. I'll leave the rest to you.

veqcc commented 3 months ago

This is the reason it is making the job fail. I'll leave the rest to you.

I have fixed in https://github.com/autowarefoundation/autoware-github-actions/pull/306