File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed
lib/src/androidTest/java/com/otaliastudios/transcoder/integration Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,18 @@ jobs:
5454 arch : x86_64
5555 profile : Nexus 6
5656 emulator-options : -no-snapshot -no-window -no-boot-anim -camera-back none -camera-front none -gpu swiftshader_indirect
57- script : ./.github/workflows/emulator_script.sh
57+ script : ./.github/workflows/emulator_script.sh logcat_${{ matrix.EMULATOR_API }}.txt
58+
59+ - name : Upload emulator logs
60+ uses : actions/upload-artifact@v4
61+ if : always()
62+ with :
63+ name : emulator_logs_${{ matrix.EMULATOR_API }}
64+ path : ./logcat_${{ matrix.EMULATOR_API }}.txt
5865
5966 - name : Upload emulator tests artifact
6067 uses : actions/upload-artifact@v4
68+ if : always()
6169 with :
6270 name : emulator_tests_${{ matrix.EMULATOR_API }}
6371 path : ./lib/build/reports/androidTests/connected/debug/
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- ADB_TAGS=" Transcoder:I Engine:I"
3- ADB_TAGS=" $ADB_TAGS DefaultVideoStrategy:I DefaultAudioStrategy:I"
4- ADB_TAGS=" $ADB_TAGS VideoDecoderOutput:I VideoFrameDropper:I"
5- ADB_TAGS=" $ADB_TAGS AudioEngine:I"
62adb logcat -c
7- adb logcat $ADB_TAGS * :E -v color &
3+ adb logcat * :V > " $1 " &
4+ LOGCAT_PID=$!
5+ trap " kill $LOGCAT_PID " EXIT
86./gradlew lib:connectedCheck --stacktrace
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class IssuesTests {
7777 }
7878
7979
80- @Test(timeout = 8000 )
80+ @Test(timeout = 16000 )
8181 fun issue137 () = with (Helper (137 )) {
8282 transcode {
8383 addDataSource(ClipDataSource (input(" main.mp3" ), 0L , 1000_000L ))
@@ -102,7 +102,7 @@ class IssuesTests {
102102 Unit
103103 }
104104
105- @Test(timeout = 8000 )
105+ @Test(timeout = 16000 )
106106 fun issue184 () = with (Helper (184 )) {
107107 transcode {
108108 addDataSource(TrackType .VIDEO , input(" transcode.3gp" ))
@@ -111,7 +111,7 @@ class IssuesTests {
111111 Unit
112112 }
113113
114- @Test(timeout = 8000 )
114+ @Test(timeout = 16000 )
115115 fun issue102 () = with (Helper (102 )) {
116116 transcode {
117117 addDataSource(input(" sample.mp4" ))
You can’t perform that action at this time.
0 commit comments