From d80092821b18c274227cd95b59cec95645df8fbc Mon Sep 17 00:00:00 2001 From: "jabber.developer2" Date: Sat, 17 Jan 2026 19:10:24 +0300 Subject: [PATCH] ci: add functional tests to coverage + fix lcov errors 1. Add 'make check-functional-parallel' to coverage job - Unit tests alone cover ~27% (mostly utilities) - Functional tests exercise UI, XMPP, and full application flow - Should significantly increase coverage 2. Fix lcov errors: - Remove /usr/lib/* pattern (unused, causes error) - Add 'unused' to --ignore-errors --- .github/workflows/ci-code.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-code.yml b/.github/workflows/ci-code.yml index 344d7614..14d11848 100644 --- a/.github/workflows/ci-code.yml +++ b/.github/workflows/ci-code.yml @@ -112,11 +112,12 @@ jobs: ./configure --enable-coverage --enable-otr --enable-pgp --enable-omemo --enable-plugins make -j$(nproc) make check || true + make check-functional-parallel || true lcov --capture --directory . --output-file /coverage/coverage.info --ignore-errors inconsistent lcov --remove /coverage/coverage.info \ - "/usr/include/*" "/usr/lib/*" "*/tests/*" \ + "/usr/include/*" "*/tests/*" \ --output-file /coverage/coverage.info \ - --ignore-errors inconsistent,empty + --ignore-errors inconsistent,empty,unused ' - name: Upload coverage to Codecov uses: codecov/codecov-action@v4