@@ -46,42 +46,42 @@ jobs:
46
46
- name : flutter pub get
47
47
run : flutter pub get
48
48
49
- - name : Gradle cache
50
- uses : gradle/gradle-build-action@v2
49
+ - name : Gradle cache
50
+ uses : gradle/gradle-build-action@v2
51
51
52
- - name : AVD cache
53
- uses : actions/cache@v3
54
- id : avd-cache
55
- with :
56
- path : |
57
- ~/.android/avd/*
58
- ~/.android/adb*
52
+ - name : AVD cache
53
+ uses : actions/cache@v3
54
+ id : avd-cache
55
+ with :
56
+ path : |
57
+ ~/.android/avd/*
58
+ ~/.android/adb*
59
59
key: avd-21
60
60
61
- - name : create AVD and generate snapshot for caching
62
- if : steps.avd-cache.outputs.cache-hit != 'true'
63
- uses :
reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b # [email protected]
64
- with :
65
- working-directory : ./flutter/example
66
- api-level : 21
67
- force-avd-creation : false
68
- emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
69
- disable-animations : false
70
- arch : x86_64
71
- profile : Nexus 6
72
- script : echo "Generated AVD snapshot for caching."
61
+ - name : create AVD and generate snapshot for caching
62
+ if : steps.avd-cache.outputs.cache-hit != 'true'
63
+ uses :
reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b # [email protected]
64
+ with :
65
+ working-directory : ./flutter/example
66
+ api-level : 21
67
+ force-avd-creation : false
68
+ emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
69
+ disable-animations : false
70
+ arch : x86_64
71
+ profile : Nexus 6
72
+ script : echo "Generated AVD snapshot for caching."
73
73
74
- - name : launch android emulator & run android integration test
75
- uses :
reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b # [email protected]
76
- with :
77
- working-directory : ./flutter/example
78
- api-level : 21
79
- force-avd-creation : false
80
- emulator-options : -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
81
- disable-animations : true
82
- arch : x86_64
83
- profile : Nexus 6
84
- script : flutter test integration_test/integration_test.dart --verbose
74
+ - name : launch android emulator & run android integration test
75
+ uses :
reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b # [email protected]
76
+ with :
77
+ working-directory : ./flutter/example
78
+ api-level : 21
79
+ force-avd-creation : false
80
+ emulator-options : -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
81
+ disable-animations : true
82
+ arch : x86_64
83
+ profile : Nexus 6
84
+ script : flutter test integration_test/integration_test.dart --verbose
85
85
86
86
test-ios :
87
87
runs-on : macos-13
0 commit comments