Skip to content

Commit 2bccd4a

Browse files
authored
ci: rework example-basic (#1263)
1 parent 576100b commit 2bccd4a

File tree

1 file changed

+6
-38
lines changed

1 file changed

+6
-38
lines changed

.github/workflows/example-basic.yml

+6-38
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ on:
99

1010
jobs:
1111

12-
basic-ubuntu-20:
13-
runs-on: ubuntu-20.04
12+
basic:
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, windows-2022, macos-14]
17+
runs-on: ${{ matrix.os }}
1418
steps:
1519
- name: Checkout
1620
uses: actions/checkout@v4
@@ -27,39 +31,3 @@ jobs:
2731
# print information about detected browsers, etc
2832
# see https://on.cypress.io/command-line#cypress-info
2933
build: npx cypress info
30-
31-
basic-ubuntu-22:
32-
runs-on: ubuntu-22.04
33-
steps:
34-
- name: Checkout
35-
uses: actions/checkout@v4
36-
37-
- name: Cypress tests
38-
uses: ./
39-
with:
40-
working-directory: examples/basic
41-
build: npx cypress info
42-
43-
basic-on-windows:
44-
runs-on: windows-latest
45-
steps:
46-
- name: Checkout
47-
uses: actions/checkout@v4
48-
49-
- name: Cypress tests
50-
uses: ./
51-
with:
52-
working-directory: examples/basic
53-
build: npx cypress info
54-
55-
basic-on-mac:
56-
runs-on: macos-latest
57-
steps:
58-
- name: Checkout
59-
uses: actions/checkout@v4
60-
61-
- name: Cypress tests
62-
uses: ./
63-
with:
64-
working-directory: examples/basic
65-
build: npx cypress info

0 commit comments

Comments
 (0)