fix(quality-gate): tee bats output for debug visibility
CI / Load gitea-env.conf to pipeline env (push) Successful in 13s
ci-bats Bats tests
ci-cucumber Cucumber tests
CI / Quality Gate (push) Failing after 1m20s
CI / Build & Push Artifact (push) Has been skipped

Replace `>` redirect with `2>&1 | tee` so bats test output
appears in the pipeline log while still saving to results.txt.

chore(ci.yml): name load-config and main jobs for clarity
This commit is contained in:
moilanik
2026-06-14 07:45:20 +03:00
parent afe8a0fe38
commit b685f3616e
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ jobs:
--entrypoint bash ${{ inputs.bats-image }} \
-c 'apk add -q lsof python3 jq curl ruby && \
bats tests/' \
> "reports/${GITHUB_SHA:0:8}/bats/results.txt" 2>&1
2>&1 | tee "reports/${GITHUB_SHA:0:8}/bats/results.txt"
BATS_EXIT=$?
bash .ci/.gitea/scripts/bats-report.sh "reports/${GITHUB_SHA:0:8}/bats" || true