Skip to content

Commit 8a3ed16

Browse files
committed
Update clang format flow for new unit test
1 parent e0239c5 commit 8a3ed16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/clang-format-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
uses: waterloo-rocketry/actions/clang-format-check@main
1818
with:
1919
clang-format-config-path: '.clang-format'
20-
c-source-files: 'include/*.h common/*.c pic18f26k83/*.c unit_tests/*.c unit_tests/*.h'
20+
c-source-files: 'include/*.h common/*.c pic18f26k83/*.c tests/*.cpp tests/*.hpp'

scripts/format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22
set -x
3-
${CLANG_FORMAT:-clang-format} -i common/*.c include/*.h pic18f26k83/*.c unit_tests/*.c unit_tests/*.h
3+
${CLANG_FORMAT:-clang-format} -i common/*.c include/*.h pic18f26k83/*.c tests/*.cpp tests/*.hpp

0 commit comments

Comments
 (0)