Skip to content

Commit

Permalink
fix(e2e): Bump tests to iOS 18.1 and macos-15 (#4273)
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich authored Nov 14, 2024
1 parent 63ed251 commit 07e58c9
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ concurrency:
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
MAESTRO_VERSION: '1.39.0'
IOS_DEVICE: 'iPhone 14'
IOS_DEVICE: 'iPhone 16'
IOS_VERSION: '18.1'

jobs:
diff_check:
Expand Down Expand Up @@ -157,8 +158,6 @@ jobs:
USE_FRAMEWORKS: ${{ matrix.ios-use-frameworks }}
PRODUCTION: ${{ matrix.build-type == 'production' && '1' || '0' }}
RCT_NEW_ARCH_ENABLED: ${{ matrix.rn-architecture == 'new' && '1' || '0' }}
IOS_RUNTIME: ${{ matrix.runtime }}
IOS_DEVICE: ${{ matrix.device }}
strategy:
fail-fast: false # keeps matrix running if one fails
matrix:
Expand All @@ -171,12 +170,10 @@ jobs:
include:
- platform: ios
rn-version: '0.76.0'
runs-on: macos-14 # uses m1 https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/
runtime: 'latest'
runs-on: macos-14
- platform: ios
rn-version: '0.65.3'
runs-on: macos-13
runtime: 'latest'
- platform: android
runs-on: ubuntu-latest
exclude:
Expand Down Expand Up @@ -309,12 +306,10 @@ jobs:
include:
- platform: ios
rn-version: '0.76.0'
runs-on: macos-14 # uses m1 https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/
runtime: 'latest'
runs-on: macos-15
- platform: ios
rn-version: '0.65.3'
runs-on: macos-latest
runtime: 'latest'
runs-on: macos-15
- platform: android
runs-on: ubuntu-latest
exclude:
Expand Down Expand Up @@ -353,7 +348,10 @@ jobs:
name: ${{ matrix.rn-version }}-${{ matrix.rn-architecture }}-${{ matrix.engine }}-${{ matrix.platform }}-${{ matrix.build-type }}-${{ matrix.ios-use-frameworks }}-app-package
path: dev-packages/e2e-tests

- run: corepack enable
- name: Enable Corepack
run: |
npm install -g corepack@0.29.4
corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
Expand Down Expand Up @@ -408,6 +406,7 @@ jobs:
if: ${{ matrix.platform == 'ios' }}
with:
model: ${{ env.IOS_DEVICE }}
os_version: ${{ env.IOS_VERSION }}

- name: Run tests on iOS
if: ${{ matrix.platform == 'ios' }}
Expand Down

0 comments on commit 07e58c9

Please sign in to comment.