kljopiuh
This commit is contained in:
@@ -35,7 +35,7 @@ jobs:
|
||||
echo "TOOL_OK=true" >> "${GITHUB_ENV}"
|
||||
|
||||
- name: Run bats tests
|
||||
if: env.TOOL_OK == 'true'
|
||||
if: steps.prepare-bats.outcome == 'success'
|
||||
id: bats-tests
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -57,7 +57,7 @@ jobs:
|
||||
exit ${BATS_EXIT}
|
||||
|
||||
- name: Publish bats reports
|
||||
if: env.TOOL_OK == 'true'
|
||||
if: steps.prepare-bats.outcome == 'success'
|
||||
shell: bash
|
||||
run: |
|
||||
bash .ci/scripts/publish-git-pages.sh "reports/${GITHUB_SHA:0:8}/bats"
|
||||
@@ -106,7 +106,7 @@ jobs:
|
||||
echo "TOOL_OK=true" >> "${GITHUB_ENV}"
|
||||
|
||||
- name: Run cucumber tests
|
||||
if: env.TOOL_OK == 'true'
|
||||
if: steps.prepare-cucumber.outcome == 'success'
|
||||
id: cucumber-tests
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -120,7 +120,7 @@ jobs:
|
||||
exit ${CUCUMBER_EXIT}
|
||||
|
||||
- name: Publish cucumber reports
|
||||
if: env.TOOL_OK == 'true'
|
||||
if: steps.prepare-cucumber.outcome == 'success'
|
||||
shell: bash
|
||||
run: |
|
||||
bash .ci/scripts/publish-git-pages.sh "reports/${GITHUB_SHA:0:8}/cucumber"
|
||||
|
||||
Reference in New Issue
Block a user