Skip to content

Commit 77e4e2f

Browse files
wip: test coverage fix
Signed-off-by: Mykola Kobets <mykola_kobets@epam.com>
1 parent b398deb commit 77e4e2f

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/build_test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ jobs:
6060
6161
- name: Run Tests
6262
run: |
63-
(cd build && make VERBOSE=1 coverage)
63+
cd build
64+
make VERBOSE=1 coverage
6465
6566
- name: Static analysis
6667
run: |

CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,12 @@ if(WITH_COVERAGE)
111111
EXECUTABLE
112112
ctest
113113
SONARQUBE
114-
LCOV_ARGS
115-
--ignore-errors
116-
mismatch,negative
114+
# LCOV_ARGS
115+
# # --gcov-ignore-parse-errors negative_hits.ignore
116+
# # --ignore-errors
117+
# # mismatch,negative
118+
# --ignore-errors source
119+
GCOVR_ARGS --gcov-ignore-parse-errors negative_hits.warn
117120
)
118121
endif()
119122

0 commit comments

Comments
 (0)