Skip to content

Commit 3e88de9

Browse files
[TestConfigurationSample] Provide emulator logs as artifact on failing build
1 parent 5023df2 commit 3e88de9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/TestConfigurationSample.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,12 @@ jobs:
109109
with:
110110
name: test-reports
111111
path: ${{ env.SAMPLE_PATH }}/app/build/reports/androidTests
112+
113+
- name: Upload emulator logs
114+
if: failure()
115+
uses: actions/upload-artifact@v2
116+
with:
117+
name: emulator-logs
118+
path: |
119+
${{ env.SAMPLE_PATH }}/app/build/outputs/androidTest-results/managedDevice/
120+
!{{ env.SAMPLE_PATH }}/**/*:*.xml

0 commit comments

Comments
 (0)