-
Notifications
You must be signed in to change notification settings - Fork 2
Github clang tidy review
In Push to the repository, the clang-tidy report will pass or fail and the actor who made the push can check the build logs to find and solve the clang-tidy warnings or issues. However, In the case of Pull Requests, it can be very difficult for the PR creator and the PR reviewer to constantly check clang-tidy reports from the build status.
The solution for the PR problem in the above case is to make CI review a PR, we can easily do it in Github actions. Check the review made by bot in one of the Sample PR.
You can check the bot in action at this sample PR
The bot has been made in such a way that it does not Spam with the same reports when PR is Synced or Everything is okay. It does, however, comment more than once for a PR sync when a new file was added that has some issue.
The clang-tidy checks that PR review and push request perform are controlled by .clang-tidy
files at the root of the project. You can see what each check means at clang-tidy-10 docs
I thank our mentor Cem for his constant support and help in achieving our goals. We always find him helpful and he was always easy to reach for help or discussion regarding the work. We would also like to thank Google for the Google Summer of Code Programme, without which all these wouldn't be possible. Lastly, we express our gratitude to our parents for helping and providing us with all resources to carrying out our work nicely from our homes.
- Project Proposal
- Milestones and Tasks
- Implementation
- cpp20
- github-actions
- features/tidy
- features/format
- features/cmake
- Documentation
- Pull Requests
- Future Work