From 48148cf7f889e2761f7ae8362a99ac10169ccf1e Mon Sep 17 00:00:00 2001 From: Rene Meusel Date: Tue, 25 Jul 2023 12:34:54 +0200 Subject: [PATCH] CI renders clang-tidy results in PRs --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9fe657ad0fd..04920c4e143 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -132,7 +132,10 @@ jobs: - name: Run Clang Tidy run: | ./src/scripts/ci/gh_get_changes_in_pr.py $(git rev-parse HEAD) --api-token=${{ secrets.GITHUB_TOKEN }} | \ - python3 ./src/scripts/dev_tools/run_clang_tidy.py --verbose --take-file-list-from-stdin + python3 ./src/scripts/dev_tools/run_clang_tidy.py --verbose --take-file-list-from-stdin --export-fixes-dir=clang_tidy_diagnostics + + - name: Display Clang Tidy Results + run: ./src/scripts/ci/gh_clang_tidy_fixes_in_pr.py clang_tidy_diagnostics analysis: name: "Analysis"