Skip to content

Commit ac6f512

Browse files
committed
updates
1 parent b432981 commit ac6f512

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
echo "no" | avdmanager -v create avd --force --name "$DEVICE_NAME" --package "system-images;android-${API_LEVEL};${TARGET};${ARCH}" --tag "$TARGET" --sdcard 128M --device "$DEVICE_TYPE"
115115
sudo adduser $USER kvm
116116
sudo chown $USER /dev/kvm
117-
${ANDROID_HOME}/emulator/emulator -avd "${DEVICE_NAME}" -memory 2048 -wipe-data -no-boot-anim -noaudio -no-window -accel off -partition-size 8192 &
117+
emulator -avd "${DEVICE_NAME}" -memory 2048 -wipe-data -no-boot-anim -noaudio -no-window -accel off -partition-size 8192 &
118118
adb wait-for-device shell 'while [[ -z $(getprop dev.bootcomplete) ]]; do sleep 1; done;'
119119
120120
- name: Run tests
@@ -164,20 +164,22 @@ jobs:
164164
disk-size: 4096M
165165
emulator-port: 5554
166166
disable-animations: true
167-
cmake: 3.10.2.4988404
167+
# cmake: 3.10.2.4988404
168168
emulator-options: -no-window -noaudio -no-boot-anim -memory 2048 -wipe-data -cache-size 1000 -partition-size 8192
169169
pre-emulator-launch-script: |
170170
sdkmanager --list_installed
171171
script: |
172-
adb logcat -c
173-
adb logcat &
174-
adb wait-for-device
175-
adb shell input keyevent 82
176-
adb shell pm list instrumentation
177172
adb devices && adb shell getprop
178-
179-
adb wait-for-device shell 'while [[ -z $(getprop dev.bootcomplete) ]]; do sleep 1; done;'
180-
echo "XXXXXX YYY ZZZ"
173+
cd src/serious_python/example/flet_example
174+
dart run serious_python:main package app/src -p Android -r flet -r --pre
175+
flutter test integration_test -d emulator-5554
176+
177+
- name: Run tests
178+
shell: bash
179+
working-directory: "src/serious_python/example/flet_example"
180+
run: |
181+
dart run serious_python:main package app/src -p Android -r flet -r --pre
182+
flutter test integration_test -d emulator-5554
181183
182184
183185
windows:

0 commit comments

Comments
 (0)