Skip to content

Update flow: Build CI on iOS Simulator #18

Update flow: Build CI on iOS Simulator

Update flow: Build CI on iOS Simulator #18

Workflow file for this run

name: Run test
on: push
jobs:
build:
name: Test on iOS simulator
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Java setup
uses: actions/setup-java@v4.0.0
with:
java-version: '17'
distribution: 'zulu'
- name: Flutter setup
uses: subosito/flutter-action@v2.12.0
with:
channel: 'stable'
- name: Create iOS simulator
uses: futureware-tech/simulator-action@v3
with:
model: 'iPhone 14'
- run: flutter doctor -v
- run: flutter pub get
- run: flutter pub run build_runner build --delete-conflicting-outputs
- run: flutter test --flavor=dev
- run: flutter test integration_test --flavor=dev