From b8c7892beeda60fd98375677c4ad0ef51d124aed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20M=C3=A9ndez?= Date: Sat, 26 Sep 2026 09:27:22 +0000 Subject: [PATCH] Raise the coverage threshold to 99, the measured number tests/coverage.sh is on the default branch since pull request #1 and measures tkldev-setup 185 of 186 lines under kcov, 99.46 percent, 63 bats. The workflow now enforces that number and COVERAGE.md records it as the measured baseline. --- .github/workflows/tests.yml | 8 ++++---- COVERAGE.md | 10 +++++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index abbc203..df36ff8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,6 @@ -# Coverage gate for tkldev. Threshold 0: nothing is measured on master -# (COVERAGE.md). tests/coverage.sh and the bats suite arrive with -# fix/build-missing-bootstrap; raise the threshold when it merges. +# Coverage gate: 99 percent, the number tests/coverage.sh measures on this +# branch (COVERAGE.md, "measured baseline"). Only ever raised (decision 0006). +# The check is "tests / coverage". name: tests on: pull_request: @@ -10,4 +10,4 @@ jobs: tests: uses: keel-linux/.github/.github/workflows/test-shell.yml@main with: - threshold: 0 + threshold: 99 diff --git a/COVERAGE.md b/COVERAGE.md index 65faa51..e429ca0 100644 --- a/COVERAGE.md +++ b/COVERAGE.md @@ -4,7 +4,15 @@ Measured on 2026-09-24 against upstream master (6b42342), following the project decision 0003 (90 percent floor per repository, 95 percent for every file our changes touch). -## Baseline: 0 percent, nothing measured +## Measured baseline on the default branch: 99 percent (2026-09-26) + +Pull request #1 merged on 2026-09-26 (merge commit 994ecf4) and brought +`tests/coverage.sh` with it: tkldev-setup 185 of 186 lines under kcov, 99.46 percent, 63 bats. The gate in +`.github/workflows/tests.yml` is set to 99, the measured number rounded +down, and is only ever raised. The sections that follow record the state +before the merge. + +## Baseline before the merge: 0 percent, nothing measured This repository has no test suite and no coverage tool wired up. The figure below is therefore not an estimate: nothing is measured. Line counts are