mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 01:01:45 +00:00
Revert back to poor-man's parallelization (#11838)
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user