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

CI: Upload test-report when an error occurs

This commit is contained in:
litetex 2022-01-09 18:09:47 +01:00 committed by GitHub
parent ee19ea66b3
commit 552734faa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,13 @@ jobs:
emulator-build: 7425822 emulator-build: 7425822
script: ./gradlew connectedCheck --stacktrace script: ./gradlew connectedCheck --stacktrace
- name: Upload test report when tests fail # because the printed out stacktrace (console) is too short, see also #7553
uses: actions/upload-artifact@v2
if: failure()
with:
name: android-test-report-api${{ matrix.api-level }}
path: app/build/reports/androidTests/connected/**
sonar: sonar:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: