diff --git a/.github/workflows/TestConfigurationSample.yaml b/.github/workflows/TestConfigurationSample.yaml index 5e088fbcd..a6cde1ccf 100644 --- a/.github/workflows/TestConfigurationSample.yaml +++ b/.github/workflows/TestConfigurationSample.yaml @@ -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