exit code nosto
CI / load-config (push) Successful in 14s
ci-cucumber Cucumber tests
CI / feature (push) Failing after 1m7s
CI / main (push) Has been skipped

This commit is contained in:
moilanik
2026-06-14 07:10:17 +03:00
parent 92696e91a4
commit 8ce17d788b
+3 -2
View File
@@ -56,8 +56,9 @@ jobs:
-v "$(pwd)/reports/${GITHUB_SHA:0:8}/bats:/reports" \ -v "$(pwd)/reports/${GITHUB_SHA:0:8}/bats:/reports" \
-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/' \
> "reports/${GITHUB_SHA:0:8}/bats/results.txt" 2>&1
BATS_EXIT=$? BATS_EXIT=$?
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}"