@@ -56,24 +56,20 @@ jobs:
5656
5757 # TODO: fix emulator caching, in ubuntu-latest emulator won't boot: https://github.com/ReactiveCircus/android-emulator-runner/issues/278
5858
59- - name : build apk
60- working-directory : packages/flutter/example/android
61- run : flutter build apk --debug --target-platform=android-x64
62-
63- - name : launch android emulator & run android native test
59+ - name : launch android emulator & run android integration test
6460 uses : reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # pin@v2.34.0
6561 with :
66- working-directory : packages/flutter/example/android
62+ working-directory : packages/flutter/example
6763 api-level : 31
6864 profile : Nexus 6
6965 arch : x86_64
7066 force-avd-creation : false
7167 avd-name : avd-x86_64-31
7268 emulator-options : -no-snapshot-save -no-window -accel on -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
7369 disable-animations : true
74- script : ./gradlew testDebugUnitTest
70+ script : flutter test integration_test/all.dart --dart-define SENTRY_AUTH_TOKEN_E2E=$SENTRY_AUTH_TOKEN_E2E --verbose
7571
76- - name : launch android emulator & run android integration test
72+ - name : launch android emulator & run android integration test in profile mode
7773 uses : reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # pin@v2.34.0
7874 with :
7975 working-directory : packages/flutter/example
@@ -84,20 +80,24 @@ jobs:
8480 avd-name : avd-x86_64-31
8581 emulator-options : -no-snapshot-save -no-window -accel on -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
8682 disable-animations : true
87- script : flutter test integration_test/all .dart --dart-define SENTRY_AUTH_TOKEN_E2E=$SENTRY_AUTH_TOKEN_E2E --verbose
83+ script : flutter drive --driver= integration_test/test_driver/driver .dart --target=integration_test/sentry_widgets_flutter_binding_test. dart --profile -d emulator-5554
8884
89- - name : launch android emulator & run android integration test in profile mode
85+ - name : launch android emulator & run android native test
9086 uses : reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # pin@v2.34.0
9187 with :
92- working-directory : packages/flutter/example
88+ working-directory : packages/flutter/example/android
9389 api-level : 31
9490 profile : Nexus 6
9591 arch : x86_64
9692 force-avd-creation : false
9793 avd-name : avd-x86_64-31
9894 emulator-options : -no-snapshot-save -no-window -accel on -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
9995 disable-animations : true
100- script : flutter drive --driver=integration_test/test_driver/driver.dart --target=integration_test/sentry_widgets_flutter_binding_test.dart --profile -d emulator-5554
96+ script : ./gradlew testDebugUnitTest
97+
98+ - name : build apk
99+ working-directory : packages/flutter/example/android
100+ run : flutter build apk --debug --target-platform=android-x64
101101
102102 cocoa :
103103 name : ' ${{ matrix.target }} | ${{ matrix.sdk }}'
0 commit comments