ci: Cypress rerun improvements (#27072)
## Description - Cypress parallel run improvements #### Type of change - Workflow changes ## Testing - Workflow run
This commit is contained in:
parent
d1552e18db
commit
d1fea6ba47
2
.github/workflows/ci-test-custom-script.yml
vendored
2
.github/workflows/ci-test-custom-script.yml
vendored
|
|
@ -393,7 +393,7 @@ jobs:
|
|||
|
||||
# In case of second attempt only run failed specs
|
||||
- name: Run the cypress test with failed tests
|
||||
if: steps.run_result.outputs.run_result == 'failedtest'
|
||||
if: steps.run_result.outputs.run_result == 'failedtest' && env.failed_spec_env != ''
|
||||
id: cypress_test_failedtest
|
||||
uses: cypress-io/github-action@v5
|
||||
env:
|
||||
|
|
|
|||
2
.github/workflows/ci-test-hosted.yml
vendored
2
.github/workflows/ci-test-hosted.yml
vendored
|
|
@ -329,7 +329,7 @@ jobs:
|
|||
|
||||
# In case of second attempt only run failed specs
|
||||
- name: Run the cypress test with failed tests
|
||||
if: steps.run_result.outputs.run_result == 'failedtest'
|
||||
if: steps.run_result.outputs.run_result == 'failedtest' && env.failed_spec_env != ''
|
||||
id: cypress_test_failedtest
|
||||
uses: cypress-io/github-action@v5
|
||||
env:
|
||||
|
|
|
|||
2
.github/workflows/ci-test-limited.yml
vendored
2
.github/workflows/ci-test-limited.yml
vendored
|
|
@ -438,7 +438,7 @@ jobs:
|
|||
# In case of second attempt only run failed specs
|
||||
- name: Run the cypress test with failed tests
|
||||
id: cypress_test_failedtest
|
||||
if: steps.run_result.outputs.run_result == 'failedtest'
|
||||
if: steps.run_result.outputs.run_result == 'failedtest' && env.failed_spec_env != ''
|
||||
uses: cypress-io/github-action@v5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user