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

Clazy never fails CI #64

Closed
LeonMatthesKDAB opened this issue Jan 19, 2024 · 4 comments
Closed

Clazy never fails CI #64

LeonMatthesKDAB opened this issue Jan 19, 2024 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@LeonMatthesKDAB
Copy link
Contributor

Even if clazy generates warnings in CI the runner isn't considered to have failed.
How do we fix this?

@LeonMatthesKDAB LeonMatthesKDAB added bug Something isn't working help wanted Extra attention is needed labels Jan 19, 2024
@seanharmer
Copy link
Contributor

@winterz Any ideas please?

@LeonMatthesKDAB
Copy link
Contributor Author

As clazy is loaded as a dynamic library into clang, it seems we can solve this by simply passing -Werror to clang...

I'll open a PR to enable this in our CI to confirm it works.

@LeonMatthesKDAB
Copy link
Contributor Author

Aha, confirmed, it works: https://github.com/KDAB/KDBindings/actions/runs/9362653392/job/25771805019

@winterz can you please approve #73, which enables this in our CI.

@dantti
Copy link
Member

dantti commented Jun 4, 2024

hmm interesting I think we had this issue in another repo, but I think I did not manage to find the fix, now I need to find which repo it was :)

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

No branches or pull requests

3 participants