Skip to content

ci: ignore gcov source lookup errors in main coverage job - #15

Merged
skipbit merged 1 commit into
mainfrom
ci/fix-coverage-gcov-errors
Jul 12, 2026
Merged

ci: ignore gcov source lookup errors in main coverage job#15
skipbit merged 1 commit into
mainfrom
ci/fix-coverage-gcov-errors

Conversation

@skipbit

@skipbit skipbit commented Jul 12, 2026

Copy link
Copy Markdown
Owner

The coverage job in Main Checks aborts in gcovr with GCOV could not find source file on Catch2 .gcda files, so Main Checks has never passed. The diff-coverage job in PR Checks already handles this with --gcov-ignore-errors=source_not_found / no_working_dir_found; apply the same flags here.

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.
@skipbit
skipbit merged commit 3381e60 into main Jul 12, 2026
6 checks passed
@skipbit
skipbit deleted the ci/fix-coverage-gcov-errors branch July 12, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant