fix: drive #212
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Flutter drive iOS | |
on: push | |
jobs: | |
drive: | |
strategy: | |
matrix: | |
device: | |
- "iPhone 15" | |
- "iPhone 15 Plus" | |
- "iPhone 15 Pro" | |
- "iPhone 15 Pro Max" | |
fail-fast: true | |
runs-on: macos-latest | |
steps: | |
- uses: futureware-tech/simulator-action@v2 | |
with: | |
model: ${{ matrix.device }} | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: Run Flutter Driver tests | |
run: cd example \ | |
&& flutter drive --driver=test_driver/main_app.dart --target=integration-test/basic_example_test.dart \ | |
&& flutter drive --driver=test_driver/main_app.dart --target=integration-test/network_example_test.dart \ | |
&& flutter drive --driver=test_driver/main_app.dart --target=integration-test/namespace_example_test.dart |