Skip to content

Commit

Permalink
#649 try parallelizing specs
Browse files Browse the repository at this point in the history
  • Loading branch information
canbax committed May 11, 2021
1 parent 467b928 commit 096a174
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ jobs:
chrome-headless:
runs-on: ubuntu-18.04
environment: test0
strategy:
# when one test fails, DO NOT cancel the other
# containers, because this will kill Cypress processes
# leaving the Dashboard hanging ...
# https://github.com/cypress-io/github-action/issues/48
fail-fast: false
matrix:
# run 3 copies of the current job in parallel
containers: [1, 2, 3, 4]
steps:
- name: Checkout
uses: actions/checkout@v1
Expand All @@ -18,6 +27,7 @@ jobs:
browser: chrome
headless: true
record: true
parallel: true
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.dashboardRecordKey }}

0 comments on commit 096a174

Please sign in to comment.