run cypress tests in parallel

This commit is contained in:
Hans Pagel
2020-10-01 12:00:27 +02:00
parent 07fdc24035
commit 2d4a91cb00

View File

@@ -66,6 +66,7 @@ jobs:
strategy: strategy:
matrix: matrix:
node-version: [14] node-version: [14]
containers: [1, 2, 3]
steps: steps:
@@ -80,6 +81,7 @@ jobs:
id: cypress id: cypress
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v2
with: with:
parallel: true
cache-key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }} cache-key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
start: yarn start start: yarn start
wait-on: 'http://localhost:3000' wait-on: 'http://localhost:3000'