Clean up clang-tidy action checks (#4331)

* clang-tidy action: Exclude lib & tests dir for clang-tidy CI checks

The lib dir is obvious, but the tests dir is disabled because gtest has
a million different thing that clang-tidy doesn't like, while they're in
reality perfectly reasonable

* clang-tidy-action: Disable the LGTM comment
This commit is contained in:
pajlada 2023-01-26 19:47:32 +01:00 committed by GitHub
parent bf5a5b839c
commit adf58d2770
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -166,6 +166,7 @@ jobs:
build_dir: build
config_file: ".clang-tidy"
split_workflow: true
exclude: "tests/*,lib/*"
- uses: actions/upload-artifact@v3
if: (startsWith(matrix.os, 'ubuntu') && matrix.pch == false && matrix.qt-version == '5.15.2' && github.event_name == 'pull_request')

View file

@ -37,3 +37,5 @@ jobs:
- uses: ZedThree/clang-tidy-review/post@v0.10.1
id: review
with:
lgtm_comment_body: ""