Skip to content

Commit 07e58c9

Browse files
fix(e2e): Bump tests to iOS 18.1 and macos-15 (#4273)
1 parent 63ed251 commit 07e58c9

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.github/workflows/e2e.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ concurrency:
1515
env:
1616
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
1717
MAESTRO_VERSION: '1.39.0'
18-
IOS_DEVICE: 'iPhone 14'
18+
IOS_DEVICE: 'iPhone 16'
19+
IOS_VERSION: '18.1'
1920

2021
jobs:
2122
diff_check:
@@ -157,8 +158,6 @@ jobs:
157158
USE_FRAMEWORKS: ${{ matrix.ios-use-frameworks }}
158159
PRODUCTION: ${{ matrix.build-type == 'production' && '1' || '0' }}
159160
RCT_NEW_ARCH_ENABLED: ${{ matrix.rn-architecture == 'new' && '1' || '0' }}
160-
IOS_RUNTIME: ${{ matrix.runtime }}
161-
IOS_DEVICE: ${{ matrix.device }}
162161
strategy:
163162
fail-fast: false # keeps matrix running if one fails
164163
matrix:
@@ -171,12 +170,10 @@ jobs:
171170
include:
172171
- platform: ios
173172
rn-version: '0.76.0'
174-
runs-on: macos-14 # uses m1 https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/
175-
runtime: 'latest'
173+
runs-on: macos-14
176174
- platform: ios
177175
rn-version: '0.65.3'
178176
runs-on: macos-13
179-
runtime: 'latest'
180177
- platform: android
181178
runs-on: ubuntu-latest
182179
exclude:
@@ -309,12 +306,10 @@ jobs:
309306
include:
310307
- platform: ios
311308
rn-version: '0.76.0'
312-
runs-on: macos-14 # uses m1 https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/
313-
runtime: 'latest'
309+
runs-on: macos-15
314310
- platform: ios
315311
rn-version: '0.65.3'
316-
runs-on: macos-latest
317-
runtime: 'latest'
312+
runs-on: macos-15
318313
- platform: android
319314
runs-on: ubuntu-latest
320315
exclude:
@@ -353,7 +348,10 @@ jobs:
353348
name: ${{ matrix.rn-version }}-${{ matrix.rn-architecture }}-${{ matrix.engine }}-${{ matrix.platform }}-${{ matrix.build-type }}-${{ matrix.ios-use-frameworks }}-app-package
354349
path: dev-packages/e2e-tests
355350

356-
- run: corepack enable
351+
- name: Enable Corepack
352+
run: |
353+
npm install -g corepack@0.29.4
354+
corepack enable
357355
- uses: actions/setup-node@v4
358356
with:
359357
node-version: 20
@@ -408,6 +406,7 @@ jobs:
408406
if: ${{ matrix.platform == 'ios' }}
409407
with:
410408
model: ${{ env.IOS_DEVICE }}
409+
os_version: ${{ env.IOS_VERSION }}
411410

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

0 commit comments

Comments
 (0)