ääh
This commit is contained in:
@@ -76,7 +76,7 @@ jobs:
|
||||
npx cucumber-js \
|
||||
--format json:"reports/${GITHUB_SHA:0:8}/cucumber/report.json" \
|
||||
--format html:"reports/${GITHUB_SHA:0:8}/cucumber/index.html" 2>&1
|
||||
echo "exit_code=$?" >> "${GITHUB_OUTPUT}"
|
||||
echo $? > cucumber-exit-code.txt
|
||||
|
||||
- name: Publish cucumber reports
|
||||
if: always()
|
||||
@@ -88,7 +88,7 @@ jobs:
|
||||
if: always()
|
||||
shell: bash
|
||||
run: |
|
||||
if [ "${{ steps.cucumber-tests.outputs.exit_code }}" = "0" ]; then
|
||||
if [ "$(cat cucumber-exit-code.txt)" = "0" ]; then
|
||||
STATUS="success"
|
||||
DESC="Cucumber tests passed"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user