Commit f7b8f945 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

build: allow parallel cypress re-run (#6449)

* build: allow parallel cypress re-run

* build: add a step
parent 115c6550
...@@ -86,6 +86,18 @@ jobs: ...@@ -86,6 +86,18 @@ jobs:
path: build path: build
if-no-files-found: error if-no-files-found: error
size-tests:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- uses: actions/download-artifact@v3
with:
name: build
path: build
- run: yarn test:size
build-e2e: build-e2e:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
...@@ -107,21 +119,14 @@ jobs: ...@@ -107,21 +119,14 @@ jobs:
path: build path: build
if-no-files-found: error if-no-files-found: error
size-tests: # Allows for parallel re-runs of cypress tests without re-building.
needs: [build] cypress-rerun:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - run: exit 0
- uses: ./.github/actions/setup
- uses: actions/download-artifact@v3
with:
name: build
path: build
- run: yarn test:size
cypress-test-matrix: cypress-test-matrix:
needs: [build-e2e] needs: [build-e2e, cypress-rerun]
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: cypress/browsers:node-18.14.1-chrome-111.0.5563.64-1-ff-111.0-edge-111.0.1661.43-1 container: cypress/browsers:node-18.14.1-chrome-111.0.5563.64-1-ff-111.0-edge-111.0.1661.43-1
strategy: strategy:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment