Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Update cypress.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KaneFreeman committed Nov 8, 2023
1 parent 5448eeb commit c7b3695
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jobs:
cypress-run:
runs-on: ubuntu-latest

strategy:
fail-fast: false # https://github.com/cypress-io/github-action/issues/48
matrix:
containers: [1, 2] # Uses 2 parallel instances

steps:
- uses: actions/checkout@v3

Expand All @@ -34,6 +39,16 @@ jobs:
with:
start: yarn dev
wait-on: 'http://localhost:8080'
# Records to Cypress Cloud
# https://docs.cypress.io/guides/cloud/projects#Set-up-a-project-to-record
record: true
parallel: true # Runs test in parallel using settings above
env:
# For recording and parallelization to work you must set your CYPRESS_RECORD_KEY
# in GitHub repo → Settings → Secrets → Actions
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# Creating a token https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

- uses: actions/upload-artifact@v3
if: always()
Expand Down

0 comments on commit c7b3695

Please sign in to comment.