forked from unoplatform/uno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-devops-android-tests.yml
41 lines (32 loc) · 1.03 KB
/
.azure-devops-android-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
jobs:
- job: Android_Tests
variables:
CI_Build: true
SourceLinkEnabled: false
pool:
vmImage: 'macOS-10.14'
steps:
- checkout: self
clean: true
- bash: /bin/bash -c "sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_18_1"
displayName: Select Xamarin Version
- bash: |
chmod +x $(build.sourcesdirectory)/build/android-uitest-run.sh
$(build.sourcesdirectory)/build/android-uitest-run.sh
displayName: Run Android Tests
env:
BUILD_SOURCESDIRECTORY: "$(build.sourcesdirectory)"
BUILD_ARTIFACTSTAGINGDIRECTORY: "$(build.artifactstagingdirectory)"
- task: PublishTestResults@2
condition: always()
inputs:
testRunTitle: 'Android Test Run'
testResultsFormat: 'NUnit'
testResultsFiles: '$(build.sourcesdirectory)/build/TestResult.xml'
failTaskOnFailedTests: true
- task: PublishBuildArtifacts@1
condition: always()
inputs:
PathtoPublish: $(build.artifactstagingdirectory)
ArtifactName: uitests-results
ArtifactType: Container