Skip to content

Commit 0e27dfa

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

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/test.yml

+5-6
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='--coverage -Wall -Wextra -Werror -DNDEBUG -DLIBRARY_LOG_LEVEL=LOG_DEBUG'
166+
-DCMAKE_C_FLAGS='-Wall -Wextra -Werror -DNDEBUG -DLIBRARY_LOG_LEVEL=LOG_DEBUG'
167167
make -C build/ all
168168
exitStatus=$?
169169
echo -e "::endgroup::"
@@ -185,11 +185,10 @@ jobs:
185185
echo -e "::endgroup::"
186186
187187
echo -e "::group::${{ env.bashInfo }} ${{ env.stepName }} ${{ env.bashEnd }}"
188-
declare -a EXCLUDE=("\*test/\*" "\*CMakeCCompilerId\*" "\*mocks\*")
189-
echo ${EXCLUDE[@]} | xargs lcov --rc lcov_branch_coverage=1 --remove build/coverage.info -o build/coverage.info
188+
lcov --rc lcov_branch_coverage=1 --remove build/coverage.info -o build/coverage.info
190189
echo -e "::endgroup::"
191190
192-
lcov --rc lcov_branch_coverage=1 --list build/coverage.info
191+
lcov --rc lcov_branch_coverage=1 --summary build/coverage.info
193192
echo -e "${{ env.bashPass }} ${{env.stepName }} ${{ env.bashEnd }}"
194193
195194
- name: Test Coverage Cop Action
@@ -219,7 +218,7 @@ jobs:
219218
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
220219
echo -e "::endgroup::"
221220
222-
lcov --rc lcov_branch_coverage=1 --list build/coverage.info
221+
lcov --rc lcov_branch_coverage=1 --summary build/coverage.info
223222
set -e
224223
echo -e "${{ env.bashPass }} ${{env.stepName }} ${{ env.bashEnd }}"
225224
@@ -288,7 +287,7 @@ jobs:
288287
with:
289288
path: ./
290289
exclude-dirs: complexity, formatting
291-
exclude-urls: https://dummy-url.com/ota.bin, https://dummy-url.com/ota.com, https://dummy-url-three.com/ota.bin, https://github.com/FreeRTOS/A-Repo-That-Wins-You-The-Lottery
290+
exclude-urls: https://dummy-url.com/ota.bin, https://dummy-url.com/ota.com, https://dummy-url-three.com/ota.bin, https://github.com/FreeRTOS/A-Repo-That-Wins-You-The-Lottery, https://www.gnu.org/software/complexity/manual/complexity.html
292291

293292
- env:
294293
stepName: "Functional | Failure | Link Does Not Exist"

clang-formatting/action.yml

+1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ runs:
133133
name: formattingChanges
134134
path: ${{ inputs.path }}/formattingChanges.patch
135135
retention-days: 7
136+
overwrite: true
136137

137138
- env:
138139
bashPass: \033[32;1m

link-verifier/badUrls.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
https://dummy-url.com/ota.bin
22
https://dummy-url.com/ota.com
33
https://dummy-url-three.com/ota.bin
4+
https://www.gnu.org/software/complexity/manual/complexity.html

0 commit comments

Comments
 (0)