Revert back to poor-man's parallelization (#11838)
This commit is contained in:
parent
b1e283dc42
commit
7a0b1d5e45
1 changed files with 4 additions and 3 deletions
7
.github/workflows/cypress.yaml
vendored
7
.github/workflows/cypress.yaml
vendored
|
@ -105,8 +105,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
# Run 4 instances in Parallel
|
# Naive segmentation of tests
|
||||||
runner: [1, 2, 3, 4]
|
segment: ["a-i", "j-p", "q-s", "t-z"]
|
||||||
# Run tests using both crypto stacks
|
# Run tests using both crypto stacks
|
||||||
crypto: [legacy, rust]
|
crypto: [legacy, rust]
|
||||||
steps:
|
steps:
|
||||||
|
@ -161,9 +161,10 @@ jobs:
|
||||||
start: npx serve -p 8080 -L ../webapp
|
start: npx serve -p 8080 -L ../webapp
|
||||||
wait-on: "http://localhost:8080"
|
wait-on: "http://localhost:8080"
|
||||||
record: true
|
record: true
|
||||||
parallel: true
|
parallel: false
|
||||||
command: "yarn percy exec --parallel -- npx cypress-cloud run"
|
command: "yarn percy exec --parallel -- npx cypress-cloud run"
|
||||||
ci-build-id: ${{ needs.prepare.outputs.uuid }}-${{ matrix.crypto }}
|
ci-build-id: ${{ needs.prepare.outputs.uuid }}-${{ matrix.crypto }}
|
||||||
|
spec: cypress/e2e/[${{ matrix.segment }}]*/**
|
||||||
env:
|
env:
|
||||||
# pass the Dashboard record key as an environment variable
|
# pass the Dashboard record key as an environment variable
|
||||||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||||
|
|
Loading…
Reference in a new issue