Update flow: Run emulator #16
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: Run test | |
on: push | |
jobs: | |
build: | |
name: Run integration test | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Java setup | |
uses: actions/[email protected] | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- name: Flutter setup | |
uses: subosito/[email protected] | |
with: | |
channel: 'stable' | |
- 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 integration_test | |
- run: flutter test | |