tool errror nosto
CI / load-config (push) Successful in 11s
ci-bats Bats tests
CI / feature (push) Failing after 1m22s
CI / main (push) Has been skipped

This commit is contained in:
moilanik
2026-06-14 06:07:42 +03:00
parent 23874f59b6
commit 38bba21cfd
+12 -8
View File
@@ -63,9 +63,9 @@ jobs:
gem install bashcov -v 3.3.0 2>&1 | tail -1 && \
bashcov -- bats tests/ | tee /reports/results.txt'
BATS_EXIT=$?
bash .ci/.gitea/scripts/bats-coverage.sh bats-cov "reports/${GITHUB_SHA:0:8}/bats"
bash .ci/.gitea/scripts/bats-coverage.sh bats-cov "reports/${GITHUB_SHA:0:8}/bats" || true
docker volume rm bats-cov > /dev/null 2>&1
bash .ci/.gitea/scripts/bats-report.sh "reports/${GITHUB_SHA:0:8}/bats"
bash .ci/.gitea/scripts/bats-report.sh "reports/${GITHUB_SHA:0:8}/bats" || true
echo "BATS_EXIT=${BATS_EXIT}" >> "${GITHUB_ENV}"
exit ${BATS_EXIT}
@@ -76,10 +76,12 @@ jobs:
- name: Set bats commit status
if: always()
run: |
if [ "${BATS_EXIT}" = "0" ]; then
bash .ci/scripts/report-status.sh success "Bats tests" ci-bats bats
STATE="success"
[ "${BATS_EXIT}" != "0" ] && STATE="failure"
if [ -f "reports/${GITHUB_SHA:0:8}/bats/test-report.html" ]; then
bash .ci/scripts/report-status.sh "${STATE}" "Bats tests" ci-bats bats
else
bash .ci/scripts/report-status.sh failure "Bats tests FAILED" ci-bats bats
bash .ci/scripts/report-status.sh "${STATE}" "Bats tests" ci-bats
fi
cucumber:
@@ -115,10 +117,12 @@ jobs:
- name: Set cucumber commit status
if: always()
run: |
if [ "${CUCUMBER_EXIT}" = "0" ]; then
bash .ci/scripts/report-status.sh success "Cucumber tests passed" ci-cucumber cucumber
STATE="success"
[ "${CUCUMBER_EXIT}" != "0" ] && STATE="failure"
if [ -f "reports/${GITHUB_SHA:0:8}/cucumber/index.html" ]; then
bash .ci/scripts/report-status.sh "${STATE}" "Cucumber tests" ci-cucumber cucumber
else
bash .ci/scripts/report-status.sh failure "Cucumber tests FAILED" ci-cucumber cucumber
bash .ci/scripts/report-status.sh "${STATE}" "Cucumber tests" ci-cucumber
fi
build: