From c2133e37d0f06658ea591319894bd1da624ced22 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Tue, 12 Sep 2023 08:58:19 +0200 Subject: [PATCH] Re-enable parallelisation via Cypress Cloud now that the cycle has renewed --- .github/workflows/cypress.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cypress.yaml b/.github/workflows/cypress.yaml index 89ab7724d5..b1d0e4d4ff 100644 --- a/.github/workflows/cypress.yaml +++ b/.github/workflows/cypress.yaml @@ -118,8 +118,8 @@ jobs: strategy: fail-fast: false matrix: - # Naive segmentation of tests - segment: ["a-i", "j-p", "q-s", "t-z"] + # Run 4 instances in Parallel + runner: [1, 2, 3, 4] steps: - uses: browser-actions/setup-chrome@c485fa3bab6be59dce18dbc18ef6ab7cbc8ff5f1 - run: echo "BROWSER_PATH=$(which chrome)" >> $GITHUB_ENV @@ -172,11 +172,10 @@ jobs: start: npx serve -p 8080 -L ../webapp wait-on: "http://localhost:8080" record: true - parallel: false + parallel: true command-prefix: "yarn percy exec --parallel --" config: '{"reporter":"cypress-multi-reporters", "reporterOptions": { "configFile": "cypress-ci-reporter-config.json" } }' ci-build-id: ${{ needs.prepare.outputs.uuid }} - spec: cypress/e2e/[${{ matrix.segment }}]*/** env: # pass the Dashboard record key as an environment variable CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}