mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-23 22:13:38 +00:00
Record more info from the React Native CI E2E test. In particular, log the view hierarchy when exiting the test and dump logs from Android emulator to the build output.
22 lines
450 B
YAML
22 lines
450 B
YAML
# dumps the Android logs from the given step(s)
|
|
|
|
parameters:
|
|
- name: steps
|
|
type: stepList
|
|
|
|
steps:
|
|
- task: CmdLine@2
|
|
inputs:
|
|
script: |
|
|
python3 tools/python/run_adb.py logcat --clear
|
|
displayName: "Clear Android logs"
|
|
condition: succeededOrFailed()
|
|
|
|
- ${{ parameters.steps }}
|
|
|
|
- task: CmdLine@2
|
|
inputs:
|
|
script: |
|
|
python3 tools/python/run_adb.py logcat -d
|
|
displayName: "Dump Android logs"
|
|
condition: succeededOrFailed()
|