Revert back to poor-man's parallelization (#11838)

This commit is contained in:
Johannes Marbach 2023-11-08 15:30:22 +01:00 committed by GitHub
parent b1e283dc42
commit 7a0b1d5e45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}