Skip to content

Commit

Permalink
Merge pull request #104 from BipanKishore/matrix-strategy
Browse files Browse the repository at this point in the history
matrix strategy
  • Loading branch information
BipanKishore authored May 12, 2024
2 parents f55959c + 656243b commit 6bf5fdd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,19 @@ jobs:
# Runs tests in parallel with matrix strategy https://docs.cypress.io/guides/guides/parallelization
# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
# Also see warning here https://github.com/cypress-io/github-action#parallel
strategy:
fail-fast: false # https://github.com/cypress-io/github-action/issues/48
matrix:
containers: [1, 2] # Uses 2 parallel instances
# strategy:
# fail-fast: false # https://github.com/cypress-io/github-action/issues/48
# matrix:
# containers: [1, 2] # Uses 2 parallel instances


strategy:
fail-fast: false
matrix:
node-version: [20.x]
os: [ubuntu-latest]

runs-on: ${{matrix.os}}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ on:

jobs:
build:
runs-on: ubuntu-latest


strategy:
matrix:
node-version: [20.x]

os: [ubuntu-latest]

runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit 6bf5fdd

Please sign in to comment.