-
Notifications
You must be signed in to change notification settings - Fork 22
/
codemagic.yaml
55 lines (54 loc) · 1.39 KB
/
codemagic.yaml
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
50
51
52
53
54
55
workflows:
tests-windows:
name: Windows
instance_type: windows_x2
max_build_duration: 30
environment:
flutter: stable
xcode: latest
cocoapods: default
triggering:
events:
- push
branch_patterns:
- pattern: master
include: true
source: true
working_directory: example
scripts:
- flutter test --verbose -d windows -r expanded integration_test
publishing:
email:
recipients:
notify:
success: false # To not receive a notification when a build succeeds
tests-mobile:
name: iOS
instance_type: mac_mini_m1
max_build_duration: 60
environment:
flutter: stable
xcode: latest
cocoapods: default
triggering:
events:
- push
branch_patterns:
- pattern: master
include: true
source: true
working_directory: example
scripts:
- flutter emulators --launch apple_ios_simulator
- sleep 5
- flutter test -d iPhone -r expanded integration_test
# - flutter emulators --launch emulator
# - sleep 5
# - flutter test -d emulator-5554 -r expanded integration_test
publishing:
email:
recipients:
notify:
success: false # To not receive a notification when a build succeeds