Stop Cypress running in parallel to avoid failures with non-matching environments
This commit is contained in:
parent
7943f83858
commit
908f81fa26
1 changed files with 9 additions and 8 deletions
17
.github/workflows/cypress.yaml
vendored
17
.github/workflows/cypress.yaml
vendored
|
@ -76,11 +76,11 @@ jobs:
|
||||||
issues: read
|
issues: read
|
||||||
pull-requests: read
|
pull-requests: read
|
||||||
environment: Cypress
|
environment: Cypress
|
||||||
strategy:
|
#strategy:
|
||||||
fail-fast: false
|
# fail-fast: false
|
||||||
matrix:
|
# matrix:
|
||||||
# Run 4 instances in Parallel
|
# # Run 4 instances in Parallel
|
||||||
runner: [1, 2, 3, 4]
|
# runner: [1, 2, 3, 4]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
@ -109,8 +109,9 @@ jobs:
|
||||||
start: npx serve -p 8080 webapp
|
start: npx serve -p 8080 webapp
|
||||||
wait-on: 'http://localhost:8080'
|
wait-on: 'http://localhost:8080'
|
||||||
record: true
|
record: true
|
||||||
parallel: true
|
#parallel: true
|
||||||
command-prefix: 'yarn percy exec --parallel --'
|
#command-prefix: 'yarn percy exec --parallel --'
|
||||||
|
command-prefix: 'yarn percy exec --'
|
||||||
ci-build-id: ${{ needs.prepare.outputs.uuid }}
|
ci-build-id: ${{ needs.prepare.outputs.uuid }}
|
||||||
env:
|
env:
|
||||||
# pass the Dashboard record key as an environment variable
|
# pass the Dashboard record key as an environment variable
|
||||||
|
@ -141,7 +142,7 @@ jobs:
|
||||||
PERCY_BRANCH: ${{ github.event.workflow_run.head_branch }}
|
PERCY_BRANCH: ${{ github.event.workflow_run.head_branch }}
|
||||||
PERCY_COMMIT: ${{ github.event.workflow_run.head_sha }}
|
PERCY_COMMIT: ${{ github.event.workflow_run.head_sha }}
|
||||||
PERCY_PULL_REQUEST: ${{ needs.prepare.outputs.pr_id }}
|
PERCY_PULL_REQUEST: ${{ needs.prepare.outputs.pr_id }}
|
||||||
PERCY_PARALLEL_TOTAL: ${{ strategy.job-total }}
|
#PERCY_PARALLEL_TOTAL: ${{ strategy.job-total }}
|
||||||
PERCY_PARALLEL_NONCE: ${{ needs.prepare.outputs.uuid }}
|
PERCY_PARALLEL_NONCE: ${{ needs.prepare.outputs.uuid }}
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
|
|
Loading…
Reference in a new issue