@@ -163,7 +163,7 @@ jobs:
163
163
-G "Unix Makefiles" \
164
164
-DCMAKE_BUILD_TYPE=Debug \
165
165
-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'
167
167
make -C build/ all
168
168
exitStatus=$?
169
169
echo -e "::endgroup::"
@@ -185,11 +185,10 @@ jobs:
185
185
echo -e "::endgroup::"
186
186
187
187
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
190
189
echo -e "::endgroup::"
191
190
192
- lcov --rc lcov_branch_coverage=1 --list build/coverage.info
191
+ lcov --rc lcov_branch_coverage=1 --summary build/coverage.info
193
192
echo -e "${{ env.bashPass }} ${{env.stepName }} ${{ env.bashEnd }}"
194
193
195
194
- name : Test Coverage Cop Action
@@ -219,7 +218,7 @@ jobs:
219
218
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
220
219
echo -e "::endgroup::"
221
220
222
- lcov --rc lcov_branch_coverage=1 --list build/coverage.info
221
+ lcov --rc lcov_branch_coverage=1 --summary build/coverage.info
223
222
set -e
224
223
echo -e "${{ env.bashPass }} ${{env.stepName }} ${{ env.bashEnd }}"
225
224
@@ -288,7 +287,7 @@ jobs:
288
287
with :
289
288
path : ./
290
289
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
292
291
293
292
- env :
294
293
stepName : " Functional | Failure | Link Does Not Exist"
0 commit comments