Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on: [push, workflow_dispatch]
jobs:
install:
name: Install npm and Cypress
# Only run this workflow in the parent repository, not in any fork.
# To use the example in a fork, a different projectId and Record Key are required.
if: github.repository_owner == 'cypress-io'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on: [push, workflow_dispatch]
jobs:
test1:
name: Cypress test
# Only run this workflow in the parent repository, not in any fork.
# To use the example in a fork, a different projectId and Record Key are required.
if: github.repository_owner == 'cypress-io'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/using-action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Note: make sure to use the same version of cypress-io/github-action
# in all jobs, otherwise the last version wins I believe
name: Using Cypress GH Action

on: [push, workflow_dispatch]

jobs:
single-run:
name: Single (non-recording)
# This job can run in the parent repository, or in a fork, because it does
# not record to Cypress Cloud, and so it does not need a projectId with Record Key.
# It runs all tests in a single container, and does not use
# Cypress Cloud load balancing.
runs-on: ubuntu-24.04
steps:
- name: Checkout
Expand All @@ -23,6 +26,9 @@ jobs:

parallel-runs:
name: Parallel 4x
# Only run this job in the parent repository, not in any fork.
# To use the example in a fork, a different projectId and Record Key are required.
if: github.repository_owner == 'cypress-io'
runs-on: ubuntu-24.04
strategy:
# when one test fails, DO NOT cancel the other
Expand Down Expand Up @@ -61,7 +67,10 @@ jobs:
CYPRESS_RECORD_KEY: ${{ secrets.dashboardRecordKey }}

parallel-runs-across-platforms:
name: every OS
name: Every OS
# Only run this job in the parent repository, not in any fork.
# To use the example in a fork, a different projectId and Record Key are required.
if: github.repository_owner == 'cypress-io'
strategy:
# when one test fails, DO NOT cancel the other
# containers, because this will kill Cypress processes
Expand Down