Skip to content

Commit

Permalink
[TestConfigurationSample] Provide emulator logs as artifact on failin…
Browse files Browse the repository at this point in the history
…g build
  • Loading branch information
JolandaVerhoef committed Nov 15, 2021
1 parent 5023df2 commit 3e88de9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/TestConfigurationSample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,12 @@ jobs:
with:
name: test-reports
path: ${{ env.SAMPLE_PATH }}/app/build/reports/androidTests

- name: Upload emulator logs
if: failure()
uses: actions/upload-artifact@v2
with:
name: emulator-logs
path: |
${{ env.SAMPLE_PATH }}/app/build/outputs/androidTest-results/managedDevice/
!{{ env.SAMPLE_PATH }}/**/*:*.xml

0 comments on commit 3e88de9

Please sign in to comment.