feat: add code coverage with branch coverage

- Add --enable-coverage configure option
- Add lcov targets for generating coverage reports
- Enable branch coverage (--rc branch_coverage=1)
- Install lcov in all Docker images
- Coverage report displayed via lcov --summary (no Codecov - doesn't work with Gitea)
This commit is contained in:
2026-01-19 20:49:37 +03:00
parent 5a34a4a1d3
commit 49b552dcb1
9 changed files with 52 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ccache \
gcc \
git \
lcov \
libcmocka-dev \
libcurl3-dev \
libgcrypt-dev \