Skip to content

Commit 9c4558a

Browse files
author
Ubuntu
committed
Fix more checks
Signed-off-by: Ubuntu <[email protected]>
1 parent 0e27dfa commit 9c4558a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/formattingTests.yml

-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ jobs:
316316
uses: ./clang-formatting
317317
with:
318318
path: clang-formatting/goodFiles
319-
exclude-dirs: ",,,"
320319
exclude-files: "errorFileInDirectory.h, formatErrorTest.h, errorFileInDirectory.c, formatErrorTest.c"
321320

322321
- name: Remove Error Files at Top Directory

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
-G "Unix Makefiles" \
164164
-DCMAKE_BUILD_TYPE=Debug \
165165
-DBUILD_CLONE_SUBMODULES=ON \
166-
-DCMAKE_C_FLAGS='-Wall -Wextra -Werror -DNDEBUG -DLIBRARY_LOG_LEVEL=LOG_DEBUG'
166+
-DCMAKE_C_FLAGS='--coverage -Wall -Wextra -Werror -DNDEBUG -DLIBRARY_LOG_LEVEL=LOG_DEBUG'
167167
make -C build/ all
168168
exitStatus=$?
169169
echo -e "::endgroup::"
@@ -214,7 +214,7 @@ jobs:
214214
echo -e "::group::${{ env.bashInfo }} ${{ env.stepName }} ${{ env.bashEnd }}"
215215
declare -a EXCLUDE=("\*test/\*")
216216
set +e
217-
lcov --directory build/ --base-directory build/ --initial --capture --rc lcov_branch_coverage=1 --output-file=build/base_coverage.info
217+
lcov --directory build/ --base-directory build/ --initial --capture --rc lcov_branch_coverage=1 --exclude "*CMakeCCompilerId.c" --output-file=build/base_coverage.info
218218
lcov --base-directory build/ --directory build/ --add-tracefile build/base_coverage.info --add-tracefile build/second_coverage.info --output-file build/coverage.info --rc lcov_branch_coverage=1
219219
echo -e "::endgroup::"
220220

0 commit comments

Comments
 (0)