diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d2c939476..ddd2d4ca2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -46,6 +46,33 @@ stages: - stage: Test dependsOn: Build jobs: + - job: Test_HQRM + displayName: 'HQRM' + pool: + vmImage: 'windows-2019' + timeoutInMinutes: 0 + steps: + - task: DownloadBuildArtifacts@0 + displayName: 'Download Build Artifact' + inputs: + buildType: 'current' + downloadType: 'single' + artifactName: 'output' + downloadPath: '$(Build.SourcesDirectory)' + - task: PowerShell@2 + name: test + displayName: 'Run HQRM Test' + inputs: + filePath: './build.ps1' + arguments: '-Tasks hqrmtest' + pwsh: false + - task: PublishTestResults@2 + displayName: 'Publish Test Results' + condition: succeededOrFailed() + inputs: + testResultsFormat: 'NUnit' + testResultsFiles: 'output/testResults/NUnit*.xml' + testRunTitle: 'HQRM' - job: test_unit_linux condition: succeededOrFailed() displayName: 'Linux - Unit Tests' diff --git a/build.yaml b/build.yaml index aa23ce37f..ceb932b0f 100644 --- a/build.yaml +++ b/build.yaml @@ -50,7 +50,6 @@ BuildWorkflow: test: - Pester_Tests_Stop_On_Fail - Pester_if_Code_Coverage_Under_Threshold - - hqrmtest publish: - Publish_release_to_GitHub