Skip to content

Commit 10a981c

Browse files
authored
Force uninstall test app before test. (#143)
1 parent ff23892 commit 10a981c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/OCV-PR-4.x-Android-Test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,7 @@ jobs:
9797
timeout-minutes: 60
9898
id: java-test
9999
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
100-
run: ./gradlew -i tests_module:connectedAndroidTest
100+
run: |
101+
${{ env.ANDROID_HOME }}/platform-tools/adb uninstall org.opencv.tests || 0
102+
./gradlew -i tests_module:connectedAndroidTest
101103
working-directory: ${{ github.workspace }}/build/android_test

0 commit comments

Comments
 (0)