Skip to content

Commit 19dbb39

Browse files
committed
Adds job to upload all emulator logs. One test fails.
com.example.android.architecture.blueprints.todoapp.addedittask.AddEditTaskScreenTest > emptyTask_isNotSaved[pixel2api30atd_0] FAILED Tests on pixel2api30atd_0 failed: There was 1 failure(s). Test run failed to complete. Instrumentation run failed due to keyDispatchingTimedOut FAILURE: Build failed with an exception. > Task :app:pixel2api30atdMockDebugAndroidTest FAILED
1 parent 68387cc commit 19dbb39

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/blueprints.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,16 @@ jobs:
142142
working-directory: ${{ env.SAMPLE_PATH }}
143143
run: ./gradlew -Pandroid.sdk.channel=3 -Pandroid.experimental.androidTest.numManagedDeviceShards=2 -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" pixel2api30atdMockDebugAndroidTest
144144

145+
- name: Upload emulator logs
146+
if: failure()
147+
uses: actions/upload-artifact@v2
148+
with:
149+
name: emulator-logs
150+
path: |
151+
${{ env.SAMPLE_PATH }}/app/build/outputs/androidTest-results/managedDevice/**
152+
!${{ env.SAMPLE_PATH }}/**/*:*.xml
153+
!${{ env.SAMPLE_PATH }}/**/*|*
154+
145155
- name: Upload test reports
146156
if: always()
147157
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)