6969 run-complexity : true,
7070 run-doxygen : true,
7171 build-flags : -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS='-Wall -Wextra -DNDEBUG',
72- coverage-skips : ' "\*test\*" "\*CMakeCCompilerId\*" "\*mocks\*" "\*3rdparty\*"' ,
7372 },
7473 {
7574 repository : coreJSON,
8079 run-complexity : true,
8180 run-doxygen : true,
8281 build-flags : -DCMAKE_BUILD_TYPE=Debug -DBUILD_CLONE_SUBMODULES=ON -DCMAKE_C_FLAGS='-Wall -Wextra -Werror',
83- coverage-skips : ' "\*test\*" "\*CMakeCCompilerId\*" "\*mocks\*" "\*source\*"' ,
8482 },
8583 {
8684 repository : coreMQTT,
9189 run-complexity : true,
9290 run-doxygen : true,
9391 build-flags : -DCMAKE_BUILD_TYPE=Debug -DBUILD_CLONE_SUBMODULES=ON -DCMAKE_C_FLAGS='-Wall -Wextra -Werror -DNDEBUG -DLIBRARY_LOG_LEVEL=LOG_DEBUG',
94- coverage-skips : ' "\*test\*" "\*CMakeCCompilerId\*" "\*mocks\*"' ,
9592 },
9693 {
9794 repository : corePKCS11,
10299 run-complexity : true,
103100 run-doxygen : true,
104101 build-flags : -DCMAKE_BUILD_TYPE=Debug -DSYSTEM_TESTS=0 -DCMAKE_C_FLAGS='-Wall -Wextra -DNDEBUG',
105- coverage-skips : ' "\*test\*" "\*CMakeCCompilerId\*" "\*mocks\*"' ,
106102 branch-coverage : 90,
107103 },
108104 {
@@ -114,7 +110,6 @@ jobs:
114110 run-complexity : true,
115111 run-doxygen : true,
116112 build-flags : -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS='-Wall -Wextra -Werror -DNDEBUG -Wno-error=pedantic -Wno-variadic-macros -DLOGGING_LEVEL_DEBUG=1',
117- coverage-skips : ' "\*test\*" "\*CMakeCCompilerId\*" "\*mocks\*"' ,
118113 },
119114 {
120115 repository : FreeRTOS-Cellular-Interface,
@@ -125,7 +120,6 @@ jobs:
125120 run-complexity : true,
126121 run-doxygen : true,
127122 build-flags : -DCMAKE_BUILD_TYPE=Debug -DBUILD_CLONE_SUBMODULES=ON -DCMAKE_C_FLAGS='-Wall -Wextra -Werror -DNDEBUG',
128- coverage-skips : ' "\*test\*" "\*CMakeCCompilerId\*" "\*mocks\*"' ,
129123 },
130124 {
131125 repository : Device-Defender-for-AWS-IoT-embedded-sdk,
@@ -136,7 +130,6 @@ jobs:
136130 run-complexity : true,
137131 run-doxygen : true,
138132 build-flags : -DBUILD_CLONE_SUBMODULES=ON -DCMAKE_C_FLAGS='-Wall -Wextra -Werror -DNDEBUG',
139- coverage-skips : ' "\*test\*" "\*CMakeCCompilerId\*" "\*mocks\*"' ,
140133 },
141134 {
142135 repository : Device-Shadow-for-AWS-IoT-embedded-sdk,
@@ -146,7 +139,6 @@ jobs:
146139 run-spelling-check : true,
147140 run-complexity : true,
148141 build-flags : -DCMAKE_BUILD_TYPE=Debug -DBUILD_CLONE_SUBMODULES=ON -DCMAKE_C_FLAGS='-Wall -Wextra -Werror -DNDEBUG',
149- coverage-skips : ' "\*test\*" "\*CMakeCCompilerId\*" "\*mocks\*"' ,
150142 },
151143 {
152144 repository : Fleet-Provisioning-for-AWS-IoT-embedded-sdk,
@@ -157,7 +149,6 @@ jobs:
157149 run-complexity : true,
158150 run-doxygen : true,
159151 build-flags : -DCMAKE_BUILD_TYPE=Debug -DBUILD_CLONE_SUBMODULES=ON -DCMAKE_C_FLAGS='-Wall -Wextra -Werror -DNDEBUG',
160- coverage-skips : ' "\*test\*" "\*CMakeCCompilerId\*" "\*mocks\*"' ,
161152 },
162153 {
163154 repository : Jobs-for-AWS-IoT-embedded-sdk,
@@ -168,7 +159,6 @@ jobs:
168159 run-complexity : false,
169160 run-doxygen : true,
170161 build-flags : -DCMAKE_BUILD_TYPE=Debug -DBUILD_CLONE_SUBMODULES=ON -DCMAKE_C_FLAGS='-Wall -Wextra -Werror',
171- coverage-skips : ' "\*test\*" "\*CMakeCCompilerId\*" "\*mocks\*" "\*source\*"' ,
172162 },
173163 {
174164 repository : ota-for-AWS-IoT-embedded-sdk,
@@ -188,7 +178,6 @@ jobs:
188178 run-spelling-check : true,
189179 run-doxygen : true,
190180 build-flags : -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS='-Wall -Wextra -DNDEBUG -DLOGGING_LEVEL_DEBUG=1',
191- coverage-skips : ' "\*test\*" "\*CMakeCCompilerId\*" "\*mocks\*"' ,
192181 },
193182 ]
194183 steps :
@@ -314,12 +303,8 @@ jobs:
314303 echo -e "::endgroup::"
315304 echo -e "::group::${{ env.bashInfo }} ${{ env.stepName }} ${{ env.bashEnd }}"
316305
317- if [[ "${{ matrix.inputs.coverage-skips }}" != "" ]]; then
318- declare -a EXCLUDE=( ${{ matrix.inputs.coverage-skips }} )
319- echo ${EXCLUDE[@]} | xargs lcov --rc lcov_branch_coverage=1 -r build/coverage.info -o build/coverage.info
320- else
321- lcov --rc lcov_branch_coverage=1 -r build/coverage.info -o build/coverage.info
322- fi
306+ lcov --rc lcov_branch_coverage=1 -r build/coverage.info -o build/coverage.info
307+
323308 echo -e "::endgroup::"
324309
325310 lcov --rc lcov_branch_coverage=1 --summary build/coverage.info
0 commit comments