Skip to content

Commit

Permalink
ci: rework example-basic (cypress-io#1263)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored Oct 2, 2024
1 parent 576100b commit 2bccd4a
Showing 1 changed file with 6 additions and 38 deletions.
44 changes: 6 additions & 38 deletions .github/workflows/example-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ on:

jobs:

basic-ubuntu-20:
runs-on: ubuntu-20.04
basic:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, windows-2022, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -27,39 +31,3 @@ jobs:
# print information about detected browsers, etc
# see https://on.cypress.io/command-line#cypress-info
build: npx cypress info

basic-ubuntu-22:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Cypress tests
uses: ./
with:
working-directory: examples/basic
build: npx cypress info

basic-on-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Cypress tests
uses: ./
with:
working-directory: examples/basic
build: npx cypress info

basic-on-mac:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Cypress tests
uses: ./
with:
working-directory: examples/basic
build: npx cypress info

0 comments on commit 2bccd4a

Please sign in to comment.