-
-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (40 loc) · 1.1 KB
/
ci_ios.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: CI IOS
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
integration_test_ios:
runs-on: macos-latest
strategy:
matrix:
include:
- device: "iPhone 15 Pro Max"
- device: "iPad Pro (12.9-inch) (6th generation)"
fail-fast: true
steps:
- name: "Available Devices"
run: xcrun simctl list --json devices available
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.24.3"
channel: stable
- run: flutter doctor -v
- run: dart pub global activate flutterfire_cli
- name: "Melos Install"
run: dart pub global activate melos
- name: "Melos bs"
run: melos bootstrap
- uses: futureware-tech/simulator-action@v2
with:
model: ${{ matrix.device }}
os_version: "17.2"
- name: Integration Test
run: melos integration-test
- uses: actions/upload-artifact@v3
if: always()
with:
name: ${{ matrix.device }}
path: ./screenshots/*