Browse Source

add windows integration tests

Dan Walmsley 3 năm trước cách đây
mục cha
commit
03b0fcb454
1 tập tin đã thay đổi với 18 bổ sung1 xóa
  1. 18 1
      azure-pipelines-integrationtests.yml

+ 18 - 1
azure-pipelines-integrationtests.yml

@@ -6,7 +6,7 @@
 trigger:
 - master
 
-
+jobs:
 - job: Mac
   pool:
     name: 'AvaloniaMacPool'
@@ -19,3 +19,20 @@ trigger:
 - job: Windows
   pool:
     vmImage: 'windows-2022'
+
+  steps:
+  - task: Windows Application Driver@0
+    inputs:
+      OperationType: 'Start'
+      AgentResolution: '1080p'
+    displayName: 'Start WinAppDriver'
+
+  - task: DotNetCoreCLI@2
+    inputs:
+      command: 'test'
+      projects: 'tests/Avalonia.IntegrationTests.Appium/'
+
+  - task: Windows Application Driver@0
+    inputs:
+      OperationType: 'Stop'
+    displayName: 'Stop WinAppDriver'