diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 958fa4f..7556932 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -82,7 +82,7 @@ jobs: name: Run iOS native unit tests timeout-minutes: 45 runs-on: - labels: macos-latest-xlarge + labels: macos-26-xlarge env: working_directory: "example" steps: @@ -105,13 +105,13 @@ jobs: key: ${{ runner.os }}-pods-${{ hashFiles('**/*.podspec') }} restore-keys: | ${{ runner.os }}-pods- - - name: Select XCode 26.3 - run: sudo xcode-select -s '/Applications/Xcode_26.3.0.app/Contents/Developer' + - name: Select XCode 26.5 + run: sudo xcode-select -s '/Applications/Xcode_26.5.app/Contents/Developer' - name: Generate necessary files with flutter build working-directory: ${{ env.working_directory }} run: flutter build ios --config-only - name: "Run iOS native unit tests" - run: TEST_DEVICE='iPhone 16 Pro' TEST_OS='26.2' melos run test:ios + run: TEST_DEVICE='iPhone 17 Pro' TEST_OS='26.5' melos run test:ios build-android: name: Build Android @@ -149,7 +149,7 @@ jobs: needs: [test-dart, test-ios] if: contains(github.base_ref, 'main') timeout-minutes: 90 - runs-on: macos-latest-xlarge + runs-on: macos-26-xlarge env: MAPS_API_KEY: ${{ secrets.ACTIONS_API_KEY }} steps: @@ -173,7 +173,7 @@ jobs: key: ${{ runner.os }}-pods-${{ hashFiles('**/*.podspec') }} restore-keys: | ${{ runner.os }}-pods- - - name: Select XCode 26.3 - run: sudo xcode-select -s '/Applications/Xcode_26.3.0.app/Contents/Developer' + - name: Select XCode 26.5 + run: sudo xcode-select -s '/Applications/Xcode_26.5.app/Contents/Developer' - name: "Run build for iOS" run: melos run flutter-build-ios diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c1458ee..d5fd456 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -132,7 +132,7 @@ Specify the device you want to run the tests on with the DEVICE env variable. Integration tests are responsible for ensuring that the plugin works against the native Driver SDK for both Android and iOS platforms. Patrol is used for the integration tests to simplify interactions with native elements. To use patrol, you first need to activate the patrol_cli. ```bash -flutter pub global activate patrol_cli 4.3.1 +flutter pub global activate patrol_cli 4.4.0 ``` To ensure that all necessary dependencies for patrol are properly set up, run the following command: diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 278f098..a02a286 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -37,7 +37,7 @@ dev_dependencies: sdk: flutter integration_test: sdk: flutter - patrol: 4.5.0 + patrol: 4.6.1 pub_semver: ^2.1.4 test_api: any diff --git a/tools/test-ios.sh b/tools/test-ios.sh index 3e2d955..c364895 100755 --- a/tools/test-ios.sh +++ b/tools/test-ios.sh @@ -14,8 +14,8 @@ # limitations under the License. set -e -DEVICE_NAME=${TEST_DEVICE:-'iPhone 16 Pro'} # Default to 'iPhone 16 Pro' if no argument is provided -OS_VERSION=${TEST_OS:-'26.2'} # Default to 'iOS 26.2' if no argument is provided +DEVICE_NAME=${TEST_DEVICE:-'iPhone 17 Pro'} # Default to 'iPhone 17 Pro' if no argument is provided +OS_VERSION=${TEST_OS:-'26.5'} # Default to 'iOS 26.5' if no argument is provided # Navigate to the ios directory and run xcodebuild with the provided device name cd ios && xcodebuild test \