alsödgkhölaihgd
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user