From a94b6fcabe01618087e8cf6beca3e5431c3440a4 Mon Sep 17 00:00:00 2001 From: "Mayeul@Zama" Date: Wed, 9 Mar 2022 17:40:02 +0100 Subject: [PATCH] style: check tests format in the CI --- .github/workflows/scripts/format_cpp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripts/format_cpp.sh b/.github/workflows/scripts/format_cpp.sh index 93b1df4c9..94ac93cb3 100755 --- a/.github/workflows/scripts/format_cpp.sh +++ b/.github/workflows/scripts/format_cpp.sh @@ -4,7 +4,7 @@ set -e -o pipefail EXCLUDE_DIRS="-path ./compiler/include/boost-single-header -prune -o" -find ./compiler/{include,lib,src} $EXCLUDE_DIRS -iregex '^.*\.\(cpp\|cc\|h\|hpp\)$' -print | xargs clang-format -i -style='file' +find ./compiler/{include,lib,src,tests} $EXCLUDE_DIRS -iregex '^.*\.\(cpp\|cc\|h\|hpp\)$' -print | xargs clang-format -i -style='file' # show changes if any git --no-pager diff