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

build: resolve cypress matrix to single job (#4075)

* build: resolve cypress matrix to single job

* build: output on cypress-tests

* build: explicitly name matrix steps

* build: quote cypress string

* build: omit protocol

* build: test

* build: fix indentation

* build: test

* build: test

* build: test

* build: cleanup

* build: cleanup
parent b211c9f1
...@@ -48,7 +48,7 @@ jobs: ...@@ -48,7 +48,7 @@ jobs:
- if: steps.cypress-cache.outputs.cache-hit != 'true' - if: steps.cypress-cache.outputs.cache-hit != 'true'
run: yarn cypress install run: yarn cypress install
cypress-tests: cypress-test-matrix:
needs: cypress-build needs: cypress-build
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
...@@ -83,3 +83,10 @@ jobs: ...@@ -83,3 +83,10 @@ jobs:
env: env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Included as a single job to check against for cypress test success, as cypress runs in a matrix.
cypress-tests:
needs: cypress-test-matrix
runs-on: ubuntu-latest
steps:
- run: echo 'Finished cypress tests https\://dashboard.cypress.io/projects/yp82ef'
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