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