Selaa lähdekoodia

Split tests into stage

Claire Novotny 5 vuotta sitten
vanhempi
sitoutus
86fee64585
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 5 5
      azure-pipelines.rx.yml

+ 5 - 5
azure-pipelines.rx.yml

@@ -106,10 +106,11 @@ stages:
       artifact: ApprovalsTests
       artifact: ApprovalsTests
       condition: always()
       condition: always()
 
 
+- stage: Test
+  jobs:
   - job: Integration_Linux_Tests
   - job: Integration_Linux_Tests
-    dependsOn: Build
     pool:
     pool:
-      vmImage: ubuntu-16.04
+      vmImage: ubuntu-latest
 
 
     variables:
     variables:
       BuildConfiguration: Release
       BuildConfiguration: Release
@@ -193,8 +194,7 @@ stages:
         arguments: -c $(BuildConfiguration) --filter "SkipCI!=true" -f netcoreapp2.1 /p:TargetFrameworks=netcoreapp2.1
         arguments: -c $(BuildConfiguration) --filter "SkipCI!=true" -f netcoreapp2.1 /p:TargetFrameworks=netcoreapp2.1
       displayName: Run 2.1 Tests on Linux
       displayName: Run 2.1 Tests on Linux
 
 
-  - job: Integration_WindowsDesktop_Tests
-    dependsOn: Build
+  - job: Integration_WindowsDesktop_Tests    
     pool:
     pool:
       vmImage: windows-latest
       vmImage: windows-latest
 
 
@@ -258,7 +258,7 @@ stages:
       displayName: Run Tests on Window Desktop
       displayName: Run Tests on Window Desktop
 
 
 - stage: CodeSign
 - stage: CodeSign
-  condition: and(succeeded('Build'), not(eq(variables['build.reason'], 'PullRequest')))
+  condition: and(succeeded('Test'), not(eq(variables['build.reason'], 'PullRequest')))
   jobs:
   jobs:
   - deployment: CodeSign
   - deployment: CodeSign
     displayName: Code Signing
     displayName: Code Signing