Skip to content

Commit 64a3347

Browse files
authored
Disabled real android testing due to device instability. (#159)
1 parent 8fca8fb commit 64a3347

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: OCV PR:4.x Android aarch64 build and test
1+
name: OCV PR:4.x Android aarch64 build
22

33
on:
44
pull_request:
@@ -90,30 +90,32 @@ jobs:
9090
run: python3 $GIT_CACHE/warnings-handling.py
9191
working-directory: ${{ github.workspace }}/build
9292
- name: Touch device
93+
if: 0
9394
run: |
9495
${{ env.ANDROID_HOME }}/platform-tools/adb kill-server
9596
${{ env.ANDROID_HOME }}/platform-tools/adb start-server
9697
${{ env.ANDROID_HOME }}/platform-tools/adb devices
9798
${{ env.ANDROID_HOME }}/platform-tools/adb shell cat /proc/cpuinfo
9899
- name: Start adb logging
100+
if: 0
99101
run: |
100102
rm -f android_logcat.log
101103
${{ env.ANDROID_HOME }}/platform-tools/adb logcat -c
102104
nohup ${{ env.ANDROID_HOME }}/platform-tools/adb logcat 2>&1 | tee android_logcat.log &
103105
- name: Test Java
104106
timeout-minutes: 60
105107
id: java-test
106-
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
108+
if: 0 # ${{ always() && steps.build-opencv.outcome == 'success' }}
107109
run: |
108110
${{ env.ANDROID_HOME }}/platform-tools/adb uninstall org.opencv.tests || 0
109111
./gradlew -i tests_module:connectedAndroidTest
110112
working-directory: ${{ github.workspace }}/build/android_test
111113
- name: Stop adb logging
112114
run: ${{ env.ANDROID_HOME }}/platform-tools/adb kill-server
113-
if: ${{ always() }}
115+
if: 0 # ${{ always() }}
114116
- name: Save Unit Test Results
115117
timeout-minutes: 5
116-
if: ${{ always() }}
118+
if: 0 # ${{ always() }}
117119
uses: actions/upload-artifact@v4
118120
with:
119121
name: android-junit-html

0 commit comments

Comments
 (0)