exit code nosto
This commit is contained in:
@@ -57,7 +57,8 @@ jobs:
|
||||
-w /repo \
|
||||
--entrypoint bash ${{ inputs.bats-image }} \
|
||||
-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=$?
|
||||
bash .ci/.gitea/scripts/bats-report.sh "reports/${GITHUB_SHA:0:8}/bats" || true
|
||||
echo "BATS_EXIT=${BATS_EXIT}" >> "${GITHUB_ENV}"
|
||||
|
||||
Reference in New Issue
Block a user