From 50ef20a4f03ca43a33265044f7b537ab4d07151a Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Mon, 6 Apr 2026 15:14:09 +0200 Subject: [PATCH 1/3] Enable gcovr --exclude-unreachable-branches and --exclude-throw-branches flags These are mostly useful for C++ code, i.e. ext-intl. See: https://gcovr.com/en/stable/faq.html#why-does-c-code-have-so-many-uncovered-branches Closes GH-21655 --- build/Makefile.gcov | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Makefile.gcov b/build/Makefile.gcov index 0ae5a44944d08..13985a93a101e 100644 --- a/build/Makefile.gcov +++ b/build/Makefile.gcov @@ -56,14 +56,14 @@ gcovr-html: @echo "Generating gcovr HTML" @rm -rf gcovr_html/ @mkdir gcovr_html - gcovr -sr . -o gcovr_html/index.html --html --html-details \ + gcovr -sr . -o gcovr_html/index.html --html --html-details --exclude-unreachable-branches --exclude-throw-branches \ $(foreach pattern, $(GCOVR_EXCLUDE_LINES_BY_PATTERNS), --exclude-lines-by-pattern $(pattern)) \ $(foreach lib, $(GCOVR_EXCLUDES), -e $(lib)) gcovr-xml: @echo "Generating gcovr XML" @rm -f gcovr.xml - gcovr -sr . -o gcovr.xml --xml \ + gcovr -sr . -o gcovr.xml --xml --exclude-unreachable-branches --exclude-throw-branches \ $(foreach pattern, $(GCOVR_EXCLUDE_LINES_BY_PATTERNS), --exclude-lines-by-pattern $(pattern)) \ $(foreach lib, $(GCOVR_EXCLUDES), -e $(lib)) From c445f1b93d33454ba23c534aab548118624086e8 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Sun, 24 Nov 2024 21:15:44 +0700 Subject: [PATCH 2/3] Labeler: Add labeler glob patterns for CI We have a "Category: CI" label in GH issues and PRs, but there is no labeler rule to automatically mark PRs as such. This adds a labeler rule to automatically add the "Category: CI" label if the PR changes _any_ file in: - '.circleci/*' - '.github/*' If all the changes are within these files, it will _not_ be labelled. - '.github/ISSUE_TEMPLATE/*' - '.github/lsan-suppressions.txt' Closes GH-16915. --- .github/labeler.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index b9f0f36e147d4..310d82b000015 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -20,6 +20,14 @@ - scripts/**/* - win32/build/**/* +"Category: CI": + - changed-files: + - any-glob-to-any-file: + - .circleci/** + - .github/** + - '!.github/lsan-suppressions.txt' + - '!.github/ISSUE_TEMPLATE/**' + "Extension: bcmath": - changed-files: - any-glob-to-any-file: From 6d62d87ab90537c38897315c9abe74a791e309d2 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Tue, 7 Apr 2026 03:09:25 +0530 Subject: [PATCH 3/3] Labeler: Fix indentation in labeler.yml Fixes mixed indentation from the previous PR GH-16915. --- .github/labeler.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 310d82b000015..01d5aadf2c0f8 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -23,10 +23,10 @@ "Category: CI": - changed-files: - any-glob-to-any-file: - - .circleci/** - - .github/** - - '!.github/lsan-suppressions.txt' - - '!.github/ISSUE_TEMPLATE/**' + - .circleci/** + - .github/** + - '!.github/lsan-suppressions.txt' + - '!.github/ISSUE_TEMPLATE/**' "Extension: bcmath": - changed-files: