eikö saataana saada millään toimimaan
ci-cucumber Cucumber tests passed
ci-bats Bats tests
ci-build Build complete
CI / feature (push) Successful in 49s
CI / main (push) Has been skipped

This commit is contained in:
moilanik
2026-06-13 04:42:20 +03:00
parent 104ba3cf07
commit 325b4a8ce5
+4 -2
View File
@@ -76,7 +76,9 @@ jobs:
npx cucumber-js \ npx cucumber-js \
--format json:"reports/${GITHUB_SHA:0:8}/cucumber/report.json" \ --format json:"reports/${GITHUB_SHA:0:8}/cucumber/report.json" \
--format html:"reports/${GITHUB_SHA:0:8}/cucumber/index.html" 2>&1 --format html:"reports/${GITHUB_SHA:0:8}/cucumber/index.html" 2>&1
echo $? > cucumber-exit-code.txt CUCUMBER_EXIT=$?
echo "CUCUMBER_EXIT=${CUCUMBER_EXIT}" >> "${GITHUB_ENV}"
exit ${CUCUMBER_EXIT}
- name: Publish cucumber reports - name: Publish cucumber reports
if: always() if: always()
@@ -88,7 +90,7 @@ jobs:
if: always() if: always()
shell: bash shell: bash
run: | run: |
if [ "$(cat cucumber-exit-code.txt)" = "0" ]; then if [ "${CUCUMBER_EXIT}" = "0" ]; then
STATUS="success" STATUS="success"
DESC="Cucumber tests passed" DESC="Cucumber tests passed"
else else