Skip to content

Commit

Permalink
Merge pull request #6891 from Walkover-Web-Solution/prateek-giddh-pat…
Browse files Browse the repository at this point in the history
…ch-1

Update main.yml: Add parallelization containers for Cypress
  • Loading branch information
gupta77 authored Jan 2, 2021
2 parents 9987ec8 + 7998d8a commit 6cfca94
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: CI

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the two branches
# Triggers the workflow on push or pull request events for these branches
push:
branches:
- beta-stage
Expand All @@ -21,6 +21,15 @@ jobs:
tests:
runs-on: windows-latest
name: Giddh test cases
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]
env:
# prevents extra Cypress installation progress messages
CI: 1
Expand Down

0 comments on commit 6cfca94

Please sign in to comment.