From 8ce17d788b7a4eb012c3319e172eb87f922cf993 Mon Sep 17 00:00:00 2001 From: moilanik Date: Sun, 14 Jun 2026 07:10:17 +0300 Subject: [PATCH] exit code nosto --- .gitea/workflows/quality-gate.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/quality-gate.yml b/.gitea/workflows/quality-gate.yml index 6127b64..f8bd218 100644 --- a/.gitea/workflows/quality-gate.yml +++ b/.gitea/workflows/quality-gate.yml @@ -56,8 +56,9 @@ jobs: -v "$(pwd)/reports/${GITHUB_SHA:0:8}/bats:/reports" \ -w /repo \ --entrypoint bash ${{ inputs.bats-image }} \ - -c 'apk add -q lsof python3 jq curl ruby && \ - bats tests/ | tee /reports/results.txt' + -c 'apk add -q lsof python3 jq curl ruby && \ + bats tests/' \ + > "reports/${GITHUB_SHA:0:8}/bats/results.txt" 2>&1 BATS_EXIT=$? bash .ci/.gitea/scripts/bats-report.sh "reports/${GITHUB_SHA:0:8}/bats" || true echo "BATS_EXIT=${BATS_EXIT}" >> "${GITHUB_ENV}"