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 2a4b086
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/TestConfigurationSample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,13 @@ 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
!${{ env.SAMPLE_PATH }}/**/*|*

0 comments on commit 2a4b086

Please sign in to comment.