mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
style: check tests format in the CI
This commit is contained in:
2
.github/workflows/scripts/format_cpp.sh
vendored
2
.github/workflows/scripts/format_cpp.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user