Skip to content

Commit

Permalink
[GA] fix IOS-emulator setup + remove very flaky android api 29 emulat…
Browse files Browse the repository at this point in the history
…or (#221)

* [scripts/io_init_env] list available simulator runtimes

* [GA] use correct IOS runtimes when creating the emulators

* [GA] android CI remove way to flaky android 29 emulator
  • Loading branch information
clangenb authored Dec 2, 2021
1 parent eb1f8a9 commit 7ef74d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
# lower api-levels would be supported but the webView that is pre-installed on these images does not.
api-level: [28, 29] # 30 is broken for now, probably due to low emulator performance.
api-level: [28] # 30 is broken for now, 29 is way too flaky
include:
- os: macos-latest
# needs to be the `id` from the devices given by `avdmanager list device`
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ios_integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ jobs:

- name: "Create Simulator if iPad Pro 2nd gen"
if: ${{ matrix.device == 'iPad Pro (12.9-inch) (2nd generation)' }}
run: xcrun simctl create "iPad Pro (12.9-inch) (2nd generation)" "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-" "com.apple.CoreSimulator.SimRuntime.iOS-14-4"
run: xcrun simctl create "iPad Pro (12.9-inch) (2nd generation)" "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-" "com.apple.CoreSimulator.SimRuntime.iOS-15-0"

- name: "Create Simulator if iPad Pro 3rd gen"
if: ${{ matrix.device == 'iPad Pro (12.9-inch) (3rd generation)' }}
run: xcrun simctl create "iPad Pro (12.9-inch) (3rd generation)" "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-" "com.apple.CoreSimulator.SimRuntime.iOS-14-4"
run: xcrun simctl create "iPad Pro (12.9-inch) (3rd generation)" "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-" "com.apple.CoreSimulator.SimRuntime.iOS-15-0"

- name: "Start Simulator"
working-directory: ./scripts
Expand Down
3 changes: 3 additions & 0 deletions scripts/ios_init_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ set -euo pipefail

brew tap wix/brew
brew install applesimutils

# show available simulator runtimes
xcrun simctl list

0 comments on commit 7ef74d0

Please sign in to comment.