@@ -46,42 +46,42 @@ jobs:
4646 - name : flutter pub get
4747 run : flutter pub get
4848
49- - name : Gradle cache
50- uses : gradle/gradle-build-action@v2
49+ - name : Gradle cache
50+ uses : gradle/gradle-build-action@v2
5151
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*
5959 key: avd-21
6060
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 # pin@v2.28.0
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 # pin@v2.28.0
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."
7373
74- - name : launch android emulator & run android integration test
75- uses : reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b # pin@v2.28.0
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 # pin@v2.28.0
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
8585
8686 test-ios :
8787 runs-on : macos-13
0 commit comments