report failing status
ci-bats Bats tests
ci-cucumber Cucumber tests passed
ci-build Build complete
CI / feature (push) Successful in 47s
CI / main (push) Has been skipped

This commit is contained in:
moilanik
2026-06-13 04:19:42 +03:00
parent ff19ed2650
commit 9f8ab64355
+12 -2
View File
@@ -68,6 +68,7 @@ jobs:
path: .ci path: .ci
- name: Run cucumber tests - name: Run cucumber tests
id: cucumber-tests
continue-on-error: true continue-on-error: true
shell: bash shell: bash
run: | run: |
@@ -79,15 +80,24 @@ jobs:
--format json:"reports/${GITHUB_SHA:0:8}/cucumber/report.json" --format json:"reports/${GITHUB_SHA:0:8}/cucumber/report.json"
- name: Publish cucumber reports - name: Publish cucumber reports
if: always()
shell: bash shell: bash
run: | run: |
bash .ci/scripts/publish-git-pages.sh "reports/${GITHUB_SHA:0:8}/cucumber" bash .ci/scripts/publish-git-pages.sh "reports/${GITHUB_SHA:0:8}/cucumber"
- name: Set cucumber commit status - name: Set cucumber commit status
if: always()
shell: bash shell: bash
run: | run: |
bash .ci/scripts/report-status.sh success \ if [ "${{ steps.cucumber-tests.outcome }}" = "success" ]; then
"Cucumber tests" \ STATUS="success"
DESC="Cucumber tests passed"
else
STATUS="failure"
DESC="Cucumber tests FAILED"
fi
bash .ci/scripts/report-status.sh "$STATUS" \
"$DESC" \
"https://${PAGES_HOST}/${GITHUB_REPOSITORY}/reports/${GITHUB_SHA:0:8}/cucumber/" \ "https://${PAGES_HOST}/${GITHUB_REPOSITORY}/reports/${GITHUB_SHA:0:8}/cucumber/" \
ci-cucumber ci-cucumber