Skip to content

Commit c8b260a

Browse files
committed
arg for diff
1 parent b1d7045 commit c8b260a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/restyle.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,11 @@ CLANG_FORMAT=${CLANG_FORMAT:-clang-format-15}
1313

1414
cd $root
1515
python $root/tests/restyle.py format --clang-format=$CLANG_FORMAT preset --include core --include arduino
16-
python $root/tests/restyle.py assert --with-summary --with-errors
16+
17+
if [ $CI = "true" ] ; then
18+
echo foo
19+
python $root/tests/restyle.py assert --with-summary --with-errors
20+
else
21+
echo bar
22+
python $root/tests/restyle.py assert --with-diff
23+
fi

0 commit comments

Comments
 (0)