Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MelbourneDeveloper/e1d02c9764e25ebed49f047774be5e6a to your computer and use it in GitHub Desktop.
Save MelbourneDeveloper/e1d02c9764e25ebed49f047774be5e6a to your computer and use it in GitHub Desktop.
flutter_integration_test.yaml
name: Flutter Integration Test iOS
on:
push:
branches: [main]
pull_request:
branches: [main]
defaults:
run:
working-directory: ./client
jobs:
ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: "List all simulators"
run: "xcrun xctrace list devices"
- name: Start iOS simulator
run: |
open -a Simulator
xcrun simctl boot "iPhone 14"
- uses: actions/checkout@v3
- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: "3.13.3"
- name: List Flutter devices
run: flutter devices
- name: Install Flutter dependencies
run: flutter pub get
- name: Run integration tests
run: flutter test integration_test/automation_test.dart -d 66A6B2F3-3C93-4F80-9B07-F5AA621210E7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment