1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 08:30:44 +00:00

Log test-android CI job in stacktrace mode

This commit is contained in:
XiangRongLin 2021-12-20 16:29:20 +01:00 committed by Tobi
parent 96eb1425f8
commit dc67628ba5

View File

@ -39,7 +39,7 @@ jobs:
java-version: 11 java-version: 11
distribution: "temurin" distribution: "temurin"
cache: 'gradle' cache: 'gradle'
- name: Build debug APK and run jvm tests - name: Build debug APK and run jvm tests
run: ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace -DskipFormatKtlint run: ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace -DskipFormatKtlint
@ -54,7 +54,7 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
strategy: strategy:
matrix: matrix:
# api-level 19 is min sdk, but throws errors related to desugaring # api-level 19 is min sdk, but throws errors related to desugaring
api-level: [ 21, 29 ] api-level: [ 21, 29 ]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -72,7 +72,7 @@ jobs:
api-level: ${{ matrix.api-level }} api-level: ${{ matrix.api-level }}
# workaround to emulator bug: https://github.com/ReactiveCircus/android-emulator-runner/issues/160 # workaround to emulator bug: https://github.com/ReactiveCircus/android-emulator-runner/issues/160
emulator-build: 7425822 emulator-build: 7425822
script: ./gradlew connectedCheck script: ./gradlew connectedCheck --stacktrace
sonar: sonar:
runs-on: ubuntu-latest runs-on: ubuntu-latest