Put test after package
@@ -41,22 +41,6 @@ steps:
- powershell: ./make.ps1
displayName: Build
- - powershell: ./make.ps1 test-all
- displayName: Test
-
- # 32-bit tests on Windows only
- - ${{ if eq(parameters.os, 'Windows') }}:
- - powershell: ./make.ps1 -platform x86 test-all
- displayName: Test 32-bit
-
- - task: PublishTestResults@2
- displayName: Publish Test Results
- inputs:
- testRunner: VSTest
- testResultsFiles: '**/*.trx'
- mergeTestResults: true
- testRunTitle: ${{ parameters.os }}
-
- powershell: ./make.ps1 package
displayName: Package
@@ -82,3 +66,21 @@ steps:
inputs:
ArtifactName: ${{ format('{0} Artifacts', parameters.os) }}
condition: and(succeededOrFailed(), eq(variables['system.pullrequest.isfork'], false))
+
+ - powershell: ./make.ps1 test-all
+ displayName: Test
+
+ # 32-bit tests on Windows only
+ - ${{ if eq(parameters.os, 'Windows') }}:
+ - powershell: ./make.ps1 -platform x86 test-all
+ displayName: Test 32-bit
+
+ - task: PublishTestResults@2
+ displayName: Publish Test Results
+ inputs:
+ testRunner: VSTest
+ testResultsFiles: '**/*.trx'
+ mergeTestResults: true
+ testRunTitle: ${{ parameters.os }}
+
+
