From 2efd1d7d4afd911f0a1bfe1889166993d579822a Mon Sep 17 00:00:00 2001 From: Joonas Kerttula Date: Tue, 26 Nov 2024 16:37:49 +0200 Subject: [PATCH] ci: upgrade ios simulator from iPhone 14 Pro to iPhone 16 Pro (#224) --- .github/workflows/test-and-build.yaml | 2 +- tool/test-ios.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-and-build.yaml b/.github/workflows/test-and-build.yaml index a41e9ca..50f8a1d 100644 --- a/.github/workflows/test-and-build.yaml +++ b/.github/workflows/test-and-build.yaml @@ -117,7 +117,7 @@ jobs: working-directory: ${{ env.working_directory }} run: flutter build ios --config-only - name: "Run iOS native unit tests" - run: DEVICE='iPhone 14 Pro' melos run test:ios + run: DEVICE='iPhone 16 Pro' melos run test:ios - name: Upload build artifact uses: actions/upload-artifact@v4 with: diff --git a/tool/test-ios.sh b/tool/test-ios.sh index e7601d3..ad53a8f 100755 --- a/tool/test-ios.sh +++ b/tool/test-ios.sh @@ -14,7 +14,7 @@ # limitations under the License. set -e -DEVICE_NAME=${DEVICE:-'iPhone 14 Pro'} # Default to 'iPhone 14 Pro' if no argument is provided +DEVICE_NAME=${DEVICE:-'iPhone 16 Pro'} # Default to 'iPhone 16 Pro' if no argument is provided # Navigate to the ios directory and run xcodebuild with the provided device name cd ios && xcodebuild test \