From f97847c24ad3a667b9e32a85ab63163044b9552a Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman Date: Sun, 5 Apr 2026 07:05:02 +0000 Subject: [PATCH] fix(ci): update nightly workflow coverage minimum to 97% per project requirements Update the nightly workflow quality gates script invocation to use --coverage-min 97 instead of --coverage-min 85, aligning it with the project's required COVERAGE_THRESHOLD = 97 defined in noxfile.py. Also update the consolidated_config.feature BDD scenario to assert the nightly workflow uses at least 97% (not 85%) to properly enforce the coverage threshold requirement. ISSUES CLOSED: #2769 --- .forgejo/workflows/nightly-quality.yml | 2 +- features/consolidated_config.feature | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/nightly-quality.yml b/.forgejo/workflows/nightly-quality.yml index 9197497a2..372c6dd9a 100644 --- a/.forgejo/workflows/nightly-quality.yml +++ b/.forgejo/workflows/nightly-quality.yml @@ -77,7 +77,7 @@ jobs: - name: Run quality gates script run: | - python scripts/check-quality-gates.py --coverage-min 85 --complexity-max F || echo "Quality gates script not found or failed, skipping..." + python scripts/check-quality-gates.py --coverage-min 97 --complexity-max F || echo "Quality gates script not found or failed, skipping..." - name: Generate quality trend data run: | diff --git a/features/consolidated_config.feature b/features/consolidated_config.feature index 4ec8451fe..30a43d5a5 100644 --- a/features/consolidated_config.feature +++ b/features/consolidated_config.feature @@ -664,7 +664,7 @@ Feature: Consolidated Config Then the ci workflow should reference nox coverage_report session - Scenario: Nightly workflow uses at least 85 percent threshold + Scenario: Nightly workflow uses at least 97 percent threshold Given the nightly quality workflow file is loaded for coverage check - Then the nightly workflow should use a fail-under of at least 85 + Then the nightly workflow should use a fail-under of at least 97 -- 2.52.0