From 2bccd4a8544b73c1208b75e75e55210264384e96 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 2 Oct 2024 16:01:37 +0200 Subject: [PATCH] ci: rework example-basic (#1263) --- .github/workflows/example-basic.yml | 44 ++++------------------------- 1 file changed, 6 insertions(+), 38 deletions(-) diff --git a/.github/workflows/example-basic.yml b/.github/workflows/example-basic.yml index 83a914149..b0684d625 100644 --- a/.github/workflows/example-basic.yml +++ b/.github/workflows/example-basic.yml @@ -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 @@ -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