Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tools/test-ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Loading