From e0083e3d4dd4388c7a3a90323f7e0224d69bd089 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 3 May 2026 21:05:29 +0200 Subject: [PATCH] fix(ci): disable fail constraint --- .gitea/workflows/golang-tests.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/golang-tests.yaml b/.gitea/workflows/golang-tests.yaml index 29f6ee2..e63219c 100644 --- a/.gitea/workflows/golang-tests.yaml +++ b/.gitea/workflows/golang-tests.yaml @@ -46,12 +46,12 @@ jobs: coverage="$(make test/coverage | grep total | awk '{ print substr($3, 1, length($3)-1); }')" echo "total_coverage=$coverage" >> $GITHUB_OUTPUT echo "Total coverage: ${coverage}%" - - name: Fail if coverage is to low - run: | - threshold=50 - total_coverage=${{ steps.coverage.outputs.total_coverage }} + # - name: Fail if coverage is to low + # run: | + # threshold=50 + # total_coverage=${{ steps.coverage.outputs.total_coverage }} - if (( ${total_coverage%.*} < ${threshold} )); then - echo "ERROR: Coverage (${total_coverage}%) is below the threshold (${threshold}%)." 1>&2 - exit 1 - fi + # if (( ${total_coverage%.*} < ${threshold} )); then + # echo "ERROR: Coverage (${total_coverage}%) is below the threshold (${threshold}%)." 1>&2 + # exit 1 + # fi