From 0e5ef291f9bb67ec4280d8501f30e27502a5bbfa Mon Sep 17 00:00:00 2001 From: Yuma Endo Date: Sun, 12 Jul 2026 10:41:20 +0900 Subject: [PATCH] ci: ignore gcov source lookup errors in main coverage job The pr-checks diff-coverage job already passes --gcov-ignore-errors=source_not_found and no_working_dir_found to gcovr; the main-checks coverage job was missing them, so gcovr aborted on Catch2 .gcda files whose sources live outside the report paths. Main Checks has never passed because of this. --- .github/workflows/main-checks.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main-checks.yml b/.github/workflows/main-checks.yml index a7163bd..2f47f51 100644 --- a/.github/workflows/main-checks.yml +++ b/.github/workflows/main-checks.yml @@ -49,7 +49,9 @@ jobs: gcovr --cobertura coverage.xml \ --root . \ --exclude 'build/_deps/.*' \ - --exclude 'test/.*' + --exclude 'test/.*' \ + --gcov-ignore-errors=source_not_found \ + --gcov-ignore-errors=no_working_dir_found - name: Upload to Codecov uses: codecov/codecov-action@v6