File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ on: push
55jobs :
66 cypress-run :
77 runs-on : ubuntu-22.04
8+ # Runs tests in parallel with matrix strategy https://docs.cypress.io/guides/guides/parallelization
9+ # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
10+ # Also see warning here https://github.com/cypress-io/github-action#parallel
11+ strategy :
12+ fail-fast : false # https://github.com/cypress-io/github-action/issues/48
13+ matrix :
14+ containers : [1, 2] # Uses 2 parallel instances
815 container :
916 image : cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
1017 options : --user 1001
6269 # https://docs.cypress.io/guides/cloud/projects#Set-up-a-project-to-record
6370 record : true
6471 parallel : true # Runs test in parallel using settings above
72+ env :
73+ CYPRESS_RECORD_KEY : ${{ secrets.CYPRESS_RECORD_KEY }}
6574
6675 - uses : actions/upload-artifact@v4
6776 if : failure()
You can’t perform that action at this time.
0 commit comments