|
@@ -61,7 +61,7 @@ coverage-test:
|
|
|
- xmake run unittest || echo 0 > /dev/null
|
|
|
# - lcov -c -d build/.objs/unittest/linux/x86_64/coverage/app/ -b . -o unittest.info
|
|
|
# - genhtml -o coverage_report unittest.info
|
|
|
- - gcovr --xml-pretty --exclude-unreachable-branches --print-summary -o coverage.xml -f app/.* --root ${CI_PROJECT_DIR}
|
|
|
+ - gcovr --xml-pretty --exclude-unreachable-branches --print-summary -o coverage.xml -f "User project/.*" --root ${CI_PROJECT_DIR}
|
|
|
- mkdir coverage_result
|
|
|
- cd coverage_result
|
|
|
- gcovr -r ${CI_PROJECT_DIR} -f "${CI_PROJECT_DIR}/User project/.*" --html --html-details -o index.html
|