From 66a98b4b01b001347a9116cf5cb7ea54f1fcf327 Mon Sep 17 00:00:00 2001 From: Preocts Date: Fri, 19 Jun 2026 23:18:29 -0400 Subject: [PATCH] Remove .required-coverage check A metric as a goal is a poor metric --- .github/workflows/python-tests.yml | 8 +------- .required-coverage | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 .required-coverage diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index be17950..1eb93ca 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -76,14 +76,8 @@ jobs: - name: "Post summary to step summary" run: | - export COVERAGE_REQUIRED=$(<.required-coverage) export TOTAL=$(python -c "import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])") - echo "TOTAL=$TOTAL" >> $GITHUB_ENV - echo "### Minimum coverage required: ${COVERAGE_REQUIRED}%" >> $GITHUB_STEP_SUMMARY - echo "### Total coverage: ${TOTAL}%" >> $GITHUB_STEP_SUMMARY - if [ ${COVERAGE_REQUIRED} -gt $TOTAL ]; then - exit 1 - fi + echo "COVERAGE-TOTAL=$TOTAL" >> $GITHUB_ENV linters-and-formatters: name: "linters and formatters" diff --git a/.required-coverage b/.required-coverage deleted file mode 100644 index 29d6383..0000000 --- a/.required-coverage +++ /dev/null @@ -1 +0,0 @@ -100