From 7a0b1d5e45007555fff571524106092559ca13fd Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Wed, 8 Nov 2023 15:30:22 +0100 Subject: [PATCH] Revert back to poor-man's parallelization (#11838) --- .github/workflows/cypress.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress.yaml b/.github/workflows/cypress.yaml index a56686ff93..2107ca3621 100644 --- a/.github/workflows/cypress.yaml +++ b/.github/workflows/cypress.yaml @@ -105,8 +105,8 @@ jobs: strategy: fail-fast: false matrix: - # Run 4 instances in Parallel - runner: [1, 2, 3, 4] + # Naive segmentation of tests + segment: ["a-i", "j-p", "q-s", "t-z"] # Run tests using both crypto stacks crypto: [legacy, rust] steps: @@ -161,9 +161,10 @@ jobs: start: npx serve -p 8080 -L ../webapp wait-on: "http://localhost:8080" record: true - parallel: true + parallel: false command: "yarn percy exec --parallel -- npx cypress-cloud run" ci-build-id: ${{ needs.prepare.outputs.uuid }}-${{ matrix.crypto }} + spec: cypress/e2e/[${{ matrix.segment }}]*/** env: # pass the Dashboard record key as an environment variable CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}