Skip to content

Commit 373187a

Browse files
committed
ci: fix coverage badge
The old configuration doesn't work well anymore and now it is mandatory to explicitly set regex command to extract coverage info. Since an arbitrary regex command can be used it is not necessary to use `gcovr` anymore and coverage data can be extracted from the report created by `lcov`. Issue: saebyn#32 Signed-off-by: Gluttton <gluttton@ukr.net>
1 parent 2682d41 commit 373187a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ test_job:
1717
- cd ${BUILD_DIR}/tests && ./munkrestest
1818
- cd ${BUILD_DIR}
1919
- make coverage
20-
- gcovr --exclude '../tests' --exclude 'tests/googletest' -r ..
20+
coverage: /^\s*lines.*:\s*\d+.\d+\%/
2121
only:
2222
- devel
2323
- merge_requests

0 commit comments

Comments
 (0)