alsödgkhölaihgd
CI / load-config (push) Successful in 11s
ci-bats Bats tests
ci-cucumber Cucumber tests
CI / feature (push) Failing after 1m16s
CI / main (push) Has been skipped

This commit is contained in:
moilanik
2026-06-14 07:24:40 +03:00
parent 8ce17d788b
commit 3e7e2e7473
+5 -13
View File
@@ -61,25 +61,17 @@ jobs:
> "reports/${GITHUB_SHA:0:8}/bats/results.txt" 2>&1 > "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}"
STATE="success"
[ "${BATS_EXIT}" != "0" ] && STATE="failure"
bash .ci/scripts/report-status.sh "${STATE}" "Bats tests" ci-bats
exit ${BATS_EXIT} exit ${BATS_EXIT}
- name: Publish bats reports - name: Publish bats reports
if: always() if: always()
run: bash .ci/scripts/publish-git-pages.sh bats run: bash .ci/scripts/publish-git-pages.sh bats
- name: Set bats commit status
if: always()
shell: bash
run: |
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 "${STATE}" "Bats tests" ci-bats
fi
cucumber: cucumber:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container: