Skip to content

Commit

Permalink
chore: Adjust android tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Nov 13, 2024
1 parent 36cbde5 commit d55ccf3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build/scripts/android-uitest-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,6 @@ dotnet test \
--blame-hang-timeout $UITEST_TEST_TIMEOUT \
-v m \
|| true

## Dump the emulator's system log
$ANDROID_HOME/platform-tools/adb shell logcat -d > $BUILD_ARTIFACTSTAGINGDIRECTORY/android-device-log.txt
9 changes: 8 additions & 1 deletion build/stage-uitests-android.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
jobs:
- job: Android_Tests_Build
displayName: 'Android UI Tests'
timeoutInMinutes: 60
timeoutInMinutes: 90
variables:
CI_Build: true
SourceLinkEnabled: false
Expand All @@ -16,6 +16,13 @@
- template: templates/dotnet-install-mac.yml
- template: templates/canary-updater.yml

- task: PowerShell@2
displayName: 'Install coreutils'
inputs:
targetType: inline
script: |
brew install coreutils
- bash: |
chmod +x $(build.sourcesdirectory)/build/scripts/android-uitest-build.sh
$(build.sourcesdirectory)/build/scripts/android-uitest-build.sh
Expand Down

0 comments on commit d55ccf3

Please sign in to comment.