From 33cedc45a54530c214a20ca60007ed53a14e004c Mon Sep 17 00:00:00 2001 From: jerrrrycho Date: Wed, 11 Nov 2026 11:33:12 +0100 Subject: [PATCH] docs: the Coverage workflow runs on pull requests and on pushes to master COVERAGE.md said every push; a push to another branch without a pull request isn't measured. --- tests/unit/COVERAGE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/COVERAGE.md b/tests/unit/COVERAGE.md index 03dfaca11..3ed9d14e8 100644 --- a/tests/unit/COVERAGE.md +++ b/tests/unit/COVERAGE.md @@ -21,7 +21,7 @@ Coverage was measured on Windows with MSVC's SanitizerCoverage (`/fsanitize-cove The aim is branch coverage with the rest explained below, not 100%. -The numbers above are from 2026-11-01. Since then the **Coverage** workflow (`.github/workflows/coverage.yml`) measures every push and pull request: a GCC build of the unit tests with gcov, lines, functions and branches per source file of the core library. The totals and the per-file table are in the summary of the workflow run, and the HTML report with the lines marked is in its `unit-test-coverage` artifact. Its counts are source lines and gcov's branches, so they differ somewhat from the blocks in the table. The report isn't sent to SonarQube Cloud: the project's quality gate would then require 80% coverage of the new code of every pull request. +The numbers above are from 2026-11-01. Since then the **Coverage** workflow (`.github/workflows/coverage.yml`) measures every pull request and every push to master: a GCC build of the unit tests with gcov, lines, functions and branches per source file of the core library. The totals and the per-file table are in the summary of the workflow run, and the HTML report with the lines marked is in its `unit-test-coverage` artifact. Its counts are source lines and gcov's branches, so they differ somewhat from the blocks in the table. The report isn't sent to SonarQube Cloud: the project's quality gate would then require 80% coverage of the new code of every pull request. ## Code nothing in the game runs