Skip to content

Commit 4ea9c3e

Browse files
committed
fix(ci): do not exclude examples
1 parent 5216ff0 commit 4ea9c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ if(ENABLE_COVERAGE)
7575
COMMAND ${CMAKE_COMMAND} -E rm -rf "${PROJECT_BINARY_DIR}/coverage"
7676
COMMAND ${CMAKE_COMMAND} -E make_directory "${PROJECT_BINARY_DIR}/coverage"
7777
COMMAND
78-
gcovr -f "${PROJECT_SOURCE_DIR}/src/" -r "${PROJECT_SOURCE_DIR}"
78+
gcovr -f "${PROJECT_SOURCE_DIR}/src/" -f "${PROJECT_SOURCE_DIR}/examples/" -r "${PROJECT_SOURCE_DIR}"
7979
--html-details -o "${PROJECT_BINARY_DIR}/coverage/index.html"
8080
--exclude-noncode-lines --exclude-throw-branches --exclude-unreachable-branches --decisions
8181
--gcov-executable="${GCOV_TOOL}"

0 commit comments

Comments
 (0)