tool error -> commit job status
CI / load-config (push) Successful in 12s
ci-bats Bats tests
ci-cucumber Cucumber tests
CI / feature (push) Failing after 1m15s
CI / main (push) Has been skipped

This commit is contained in:
moilanik
2026-06-14 06:30:39 +03:00
parent 92696e91a4
commit 7601f1581e
+2 -2
View File
@@ -57,8 +57,8 @@ jobs:
-w /repo \ -w /repo \
--entrypoint bash ${{ inputs.bats-image }} \ --entrypoint bash ${{ inputs.bats-image }} \
-c 'apk add -q lsof python3 jq curl ruby && \ -c 'apk add -q lsof python3 jq curl ruby && \
bats tests/ | tee /reports/results.txt' bats tests/' | tee "$(pwd)/reports/${GITHUB_SHA:0:8}/bats/results.txt"
BATS_EXIT=$? BATS_EXIT=${PIPESTATUS[0]}
bash .ci/.gitea/scripts/bats-report.sh "reports/${GITHUB_SHA:0:8}/bats" || true bash .ci/.gitea/scripts/bats-report.sh "reports/${GITHUB_SHA:0:8}/bats" || true
echo "BATS_EXIT=${BATS_EXIT}" >> "${GITHUB_ENV}" echo "BATS_EXIT=${BATS_EXIT}" >> "${GITHUB_ENV}"
exit ${BATS_EXIT} exit ${BATS_EXIT}