Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 33dfa14

Browse files
authored
Merge pull request #9725 from andybalaam/andybalaam/unparallel-cypress
Stop Cypress running in parallel to avoid failures with non-matching environments
2 parents 7943f83 + 908f81f commit 33dfa14

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/cypress.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ jobs:
7676
issues: read
7777
pull-requests: read
7878
environment: Cypress
79-
strategy:
80-
fail-fast: false
81-
matrix:
82-
# Run 4 instances in Parallel
83-
runner: [1, 2, 3, 4]
79+
#strategy:
80+
# fail-fast: false
81+
# matrix:
82+
# # Run 4 instances in Parallel
83+
# runner: [1, 2, 3, 4]
8484
steps:
8585
- uses: actions/checkout@v3
8686
with:
@@ -109,8 +109,9 @@ jobs:
109109
start: npx serve -p 8080 webapp
110110
wait-on: 'http://localhost:8080'
111111
record: true
112-
parallel: true
113-
command-prefix: 'yarn percy exec --parallel --'
112+
#parallel: true
113+
#command-prefix: 'yarn percy exec --parallel --'
114+
command-prefix: 'yarn percy exec --'
114115
ci-build-id: ${{ needs.prepare.outputs.uuid }}
115116
env:
116117
# pass the Dashboard record key as an environment variable
@@ -141,7 +142,7 @@ jobs:
141142
PERCY_BRANCH: ${{ github.event.workflow_run.head_branch }}
142143
PERCY_COMMIT: ${{ github.event.workflow_run.head_sha }}
143144
PERCY_PULL_REQUEST: ${{ needs.prepare.outputs.pr_id }}
144-
PERCY_PARALLEL_TOTAL: ${{ strategy.job-total }}
145+
#PERCY_PARALLEL_TOTAL: ${{ strategy.job-total }}
145146
PERCY_PARALLEL_NONCE: ${{ needs.prepare.outputs.uuid }}
146147

147148
- name: Upload Artifact

0 commit comments

Comments
 (0)