From 62e17483aaeac42d33e0a6a45f08f3e26fc92e82 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 26 May 2026 20:23:25 +0100 Subject: [PATCH 1/2] test: ignore lcov errors due to inconsistency lcov: ERROR: lcov: ERROR: (inconsistent) mismatched end line for test_path_exists_body at /home/runner/work/systemd/systemd/src/test/test-path.c:158: 158 -> 185 while capturing from build/mkosi.builddir/arch~rolling~x86-64/test-path.p/src_test_test-path.c.gcno (use "lcov --ignore-errors inconsistent ..." to bypass this error) --- .github/workflows/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b0787e4790..be6a457b89 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -105,7 +105,7 @@ jobs: --exclude "*.gperf" \ --output-file build/test/coverage/initial.coverage-info \ --base-directory src/ \ - --ignore-errors source \ + --ignore-errors source,inconsistent \ --no-external \ --substitute "s#src/src#src#g" From b9855e6cf5f77061155d1dd33837a3b1b1d76ed7 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 26 May 2026 20:44:21 +0100 Subject: [PATCH 2/2] test: stop running coverage job on stable backports We don't run coverage on stable branches anyway, so it's just a waste of CI --- .github/workflows/coverage.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index be6a457b89..6abb4d6a5c 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -10,7 +10,6 @@ on: pull_request: branches: - main - - v[0-9]+-stable paths: - .github/workflows/coverage.yml - test/integration-tests/integration-test-wrapper.py