fix(quality-gate): tee bats output for debug visibility
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user