Skip to content

Commit a8e3ded

Browse files
authored
Replace Android emulator test step with unit test (#3319)
1 parent e68a702 commit a8e3ded

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/flutter_test.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,9 @@ jobs:
8282
disable-animations: true
8383
script: flutter drive --driver=integration_test/test_driver/driver.dart --target=integration_test/sentry_widgets_flutter_binding_test.dart --profile -d emulator-5554
8484

85-
- name: launch android emulator & run android native test
86-
uses: reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed #pin@v2.34.0
87-
with:
88-
working-directory: packages/flutter/example/android
89-
api-level: 31
90-
profile: Nexus 6
91-
arch: x86_64
92-
force-avd-creation: false
93-
avd-name: avd-x86_64-31
94-
emulator-options: -no-snapshot-save -no-window -accel on -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
95-
disable-animations: true
96-
script: ./gradlew testDebugUnitTest
85+
- name: Run Android native unit tests
86+
working-directory: packages/flutter/example/android
87+
run: ./gradlew testDebugUnitTest
9788

9889
- name: build apk
9990
working-directory: packages/flutter/example/android

0 commit comments

Comments
 (0)