Skip to content

Commit

Permalink
ci: testing multiple macos versions, skip errors
Browse files Browse the repository at this point in the history
  • Loading branch information
oscb committed Dec 4, 2023
1 parent 89e74d8 commit 2a5941f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 2a5941f

Please sign in to comment.