Skip to content

Commit c089de2

Browse files
abueideclaude
andcommitted
fix(ci): use devbox run directly and bump iOS runners to macos-26
Replace wrapper script invocations with direct devbox run --pure -e calls in both pr-checks and e2e-full workflows. Remove redundant env blocks since env vars are now passed inline via -e flags. Update iOS max device runners from macos-15 to macos-26. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 69cf44b commit c089de2

2 files changed

Lines changed: 10 additions & 28 deletions

File tree

.github/workflows/e2e-full.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
- device: min
9191
os: macos-14
9292
- device: max
93-
os: macos-15
93+
os: macos-26
9494
steps:
9595
- uses: actions/checkout@v4
9696

@@ -160,7 +160,7 @@ jobs:
160160
os: macos-14
161161
- platform: ios
162162
device: max
163-
os: macos-15
163+
os: macos-26
164164
# Web test (fast, no device needed)
165165
- platform: web
166166
device: none
@@ -221,23 +221,13 @@ jobs:
221221

222222
- name: Run React Native E2E test
223223
working-directory: examples/react-native
224-
env:
225-
EMU_HEADLESS: ${{ matrix.platform == 'android' && '1' || '0' }}
226-
SIM_HEADLESS: ${{ matrix.platform == 'ios' && '1' || '0' }}
227-
BOOT_TIMEOUT: 300
228-
TEST_TIMEOUT: 900
229-
ANDROID_DEFAULT_DEVICE: ${{ matrix.device }}
230-
IOS_DEFAULT_DEVICE: ${{ matrix.device }}
231-
TEST_TUI: false
232224
run: |
233225
if [ "${{ matrix.platform }}" = "android" ]; then
234-
# Use wrapper script for platform-specific optimization
235-
bash tests/run-android-tests.sh
226+
devbox run --pure -e IOS_SKIP_SETUP=1 -e EMU_HEADLESS=1 test:e2e:android
236227
elif [ "${{ matrix.platform }}" = "ios" ]; then
237-
# Use wrapper script for platform-specific optimization
238-
bash tests/run-ios-tests.sh
228+
devbox run --pure -e ANDROID_SKIP_SETUP=1 -e SIM_HEADLESS=1 test:e2e:ios
239229
elif [ "${{ matrix.platform }}" = "web" ]; then
240-
bash tests/run-web-tests.sh
230+
devbox run --pure -e ANDROID_SKIP_SETUP=1 -e IOS_SKIP_SETUP=1 test:e2e:web
241231
fi
242232
243233
- name: Upload reports and logs

.github/workflows/pr-checks.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
# iOS example E2E test (max device only on PRs)
8989
ios-e2e:
9090
name: iOS E2E - max
91-
runs-on: macos-15
91+
runs-on: macos-26
9292
timeout-minutes: 25
9393
needs: fast-tests
9494
steps:
@@ -152,7 +152,7 @@ jobs:
152152
os: ubuntu-24.04
153153
- platform: ios
154154
device: max
155-
os: macos-15
155+
os: macos-26
156156
- platform: web
157157
device: none
158158
os: ubuntu-24.04
@@ -212,21 +212,13 @@ jobs:
212212

213213
- name: Run React Native E2E test
214214
working-directory: examples/react-native
215-
env:
216-
EMU_HEADLESS: ${{ matrix.platform == 'android' && '1' || '0' }}
217-
SIM_HEADLESS: ${{ matrix.platform == 'ios' && '1' || '0' }}
218-
BOOT_TIMEOUT: 240
219-
TEST_TIMEOUT: 600
220-
ANDROID_DEFAULT_DEVICE: ${{ matrix.device }}
221-
IOS_DEFAULT_DEVICE: ${{ matrix.device }}
222-
TEST_TUI: false
223215
run: |
224216
if [ "${{ matrix.platform }}" = "android" ]; then
225-
bash tests/run-android-tests.sh
217+
devbox run --pure -e IOS_SKIP_SETUP=1 -e EMU_HEADLESS=1 test:e2e:android
226218
elif [ "${{ matrix.platform }}" = "ios" ]; then
227-
bash tests/run-ios-tests.sh
219+
devbox run --pure -e ANDROID_SKIP_SETUP=1 -e SIM_HEADLESS=1 test:e2e:ios
228220
elif [ "${{ matrix.platform }}" = "web" ]; then
229-
bash tests/run-web-tests.sh
221+
devbox run --pure -e ANDROID_SKIP_SETUP=1 -e IOS_SKIP_SETUP=1 test:e2e:web
230222
fi
231223
232224
- name: Upload reports and logs

0 commit comments

Comments
 (0)