From 2a5941ff6ea8d39bf25e3cb9317dd4508350ea7b Mon Sep 17 00:00:00 2001 From: Oscar Bazaldua <511911+oscb@users.noreply.github.com> Date: Mon, 4 Dec 2023 10:55:19 -0800 Subject: [PATCH] ci: testing multiple macos versions, skip errors --- .github/workflows/ci.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c328231e..f7b9bcb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,12 +41,15 @@ jobs: run-e2e-ios: needs: cancel_previous - runs-on: 'macos-13' + strategy: + matrix: + xcode: ['^14', '^15'] + macos: ['macos-latest', 'macos-13', 'macos-12'] + runs-on: ${{ matrix.macos }} steps: - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: 15.0.1 - + xcode-version: ${{ matrix.xcode }} - name: Install applesimutils run: | HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew >/dev/null @@ -75,11 +78,12 @@ jobs: run: RCT_NO_LAUNCH_PACKAGER=1 yarn example build:ios - name: Detox - Test + continue-on-error: true run: yarn example e2e:ios run-e2e-android: needs: cancel_previous - runs-on: 'macos-11' # This is important, linux cannot run the emulator graphically for e2e tests + runs-on: 'macos-latest' # This is important, linux cannot run the emulator graphically for e2e tests strategy: matrix: api-level: [21] @@ -143,6 +147,7 @@ jobs: run: RCT_NO_LAUNCH_PACKAGER=1 yarn example build:android - name: Detox - Test + continue-on-error: true uses: reactivecircus/android-emulator-runner@v2 with: api-level: ${{ matrix.api-level }}