Skip to content

Commit

Permalink
added containers for parallel processing
Browse files Browse the repository at this point in the history
  • Loading branch information
Zahra Ali authored and Zahra Ali committed Aug 3, 2023
1 parent 518eac9 commit e68c5ae
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cypress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ jobs:
name: Cypress e2e tests
needs: build
runs-on: ubuntu-latest
strategy:
# when one test fails, DO NOT cancel the other
# containers, because this will kill Cypress processes
# leaving Cypress Cloud hanging ...
# https://github.com/cypress-io/github-action/issues/48
fail-fast: false
matrix:
# run 3 copies of the current job in parallel
# this will automatically load balance
containers: [1, 2, 3]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ jobs:
name: Cypress e2e tests
needs: deploy-to-staging
runs-on: ubuntu-latest
strategy:
# when one test fails, DO NOT cancel the other
# containers, because this will kill Cypress processes
# leaving Cypress Cloud hanging ...
# https://github.com/cypress-io/github-action/issues/48
fail-fast: false
matrix:
# run 3 copies of the current job in parallel
# this will automatically load balance
containers: [1, 2, 3]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit e68c5ae

Please sign in to comment.