Skip to content

Commit

Permalink
Fix instrumentation tests package uninstalling
Browse files Browse the repository at this point in the history
  • Loading branch information
KovalevAndrey committed May 8, 2024
1 parent 8db3591 commit a0b7d96
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,12 @@ jobs:
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: |
adb uninstall "com.bumble.appyx.core.test"
adb uninstall "com.bumble.appyx.interop.ribs.test"
script: >
adb shell pm list packages | sed 's/package://g' | while read package; do
if [[ "$package" == "com.bumble.appyx.core.test" || "$package" == "com.bumble.appyx.interop.ribs.test" ]]; then
adb uninstall $package
fi
done
adb logcat > logcat.out &
./gradlew connectedCheck
- name: Upload failed instrumentation artifacts
Expand Down

0 comments on commit a0b7d96

Please sign in to comment.