Skip to content
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

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

Merged
merged 5 commits into from
Jul 1, 2024

Conversation

xmfcx
Copy link
Contributor

@xmfcx xmfcx commented Jun 27, 2024

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.

@xmfcx xmfcx requested a review from veqcc June 27, 2024 12:58
@xmfcx xmfcx self-assigned this Jun 27, 2024
@github-actions github-actions bot added the type:ci Continuous Integration (CI) processes and testing. (auto-assigned) label Jun 27, 2024
Copy link

github-actions bot commented Jun 27, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@xmfcx xmfcx added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jun 27, 2024
Signed-off-by: M. Fatih Cırıt <[email protected]>
@github-actions github-actions bot added the component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) label Jun 27, 2024
@xmfcx
Copy link
Contributor Author

xmfcx commented Jun 27, 2024

@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.

@veqcc
Copy link
Contributor

veqcc commented Jun 27, 2024

@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
Copy link
Contributor Author

xmfcx commented Jun 27, 2024

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

    - name: Mark the workflow as failed if the fixes.yaml file exists
      if: ${{ steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
      run: |
        exit 1
      shell: bash

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

@veqcc
Copy link
Contributor

veqcc commented Jun 28, 2024

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

I have fixed in autowarefoundation/autoware-github-actions#306

@xmfcx xmfcx marked this pull request as ready for review July 1, 2024 08:05
@github-actions github-actions bot removed the component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) label Jul 1, 2024
@xmfcx xmfcx merged commit ca1a8d4 into main Jul 1, 2024
23 of 24 checks passed
@xmfcx xmfcx deleted the ci/clang-tidy-config branch July 1, 2024 08:22
mitukou1109 pushed a commit to mitukou1109/autoware.universe that referenced this pull request Jul 2, 2024
palas21 pushed a commit to palas21/autoware.universe that referenced this pull request Jul 12, 2024
tby-udel pushed a commit to tby-udel/autoware.universe that referenced this pull request Jul 14, 2024
KhalilSelyan pushed a commit that referenced this pull request Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:ci Continuous Integration (CI) processes and testing. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants