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

Clang tidy parameters are different between CI pipelines #337

Open
serraramiro1 opened this issue Mar 19, 2024 · 1 comment
Open

Clang tidy parameters are different between CI pipelines #337

serraramiro1 opened this issue Mar 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@serraramiro1
Copy link
Contributor

Bug description

We're using default options of different versions of clang-tidy between CI pipelines (noetic, humble, etc).
This sometimes results in conflicting errors.

Expected behavior
All the pipelines run with the same clang-tidy parameters.
Actual behavior
All the pipelines run with the default clang-tidy parameters for their clang-tidy version.

@serraramiro1 serraramiro1 added the bug Something isn't working label Mar 19, 2024
@hidmic
Copy link
Collaborator

hidmic commented May 22, 2024

Hmm, I think this is a consequence of using glob patterns to select .clang-tidy checks. In that sense, I would expect later versions to be much more pedantic than earlier ones. I've never seen an earlier version disagreeing with a latter one. @serraramiro1 do you have an example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants