From da962761de7273a8e4b41277dde755c467282d36 Mon Sep 17 00:00:00 2001 From: David Schneller Date: Wed, 13 Nov 2024 21:52:44 +0100 Subject: [PATCH] Adjust clang-tidy script --- .github/workflows/tidy.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/tidy.yml b/.github/workflows/tidy.yml index 4c415bb..f280e50 100644 --- a/.github/workflows/tidy.yml +++ b/.github/workflows/tidy.yml @@ -39,9 +39,7 @@ jobs: set -euo pipefail clang-tidy-18 --version which clang-tidy-18 - git submodule update --init mkdir -p build && cd build cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DTESTING=ON -DUSE_MPI=ON -GNinja sed -i 's/-fprofile-abs-path //g' compile_commands.json - ninja - run-clang-tidy ../tests -clang-tidy-binary=$(which clang-tidy-18) -quiet -j $(nproc) + for f in $(find ./ -iname '*.h'); do clang-tidy-18 -p build $f; done