diff --git a/azure-pipelines-linux-mac.yml b/azure-pipelines-linux-mac.yml index 90b7e41656..1d3d91f112 100644 --- a/azure-pipelines-linux-mac.yml +++ b/azure-pipelines-linux-mac.yml @@ -51,28 +51,27 @@ steps: - script: | yarn tslint - displayName: "Run TSLint" + displayName: Run TSLint - script: | yarn strict-null-check - displayName: "Run Strict Null Check" + displayName: Run Strict Null Check - script: | yarn compile - displayName: "Compile" + displayName: Compile - script: | DISPLAY=:10 ./scripts/test.sh --tfs "Unit Tests" - displayName: Run Unit Tests + displayName: Run Unit Tests (Linux) condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux')) - script: | DISPLAY=:10 ./scripts/test.sh --tfs "Unit Tests" --coverage - displayName: "Tests" + displayName: Run Unit Tests (Mac) condition: and(succeeded(), ne(variables['Agent.OS'], 'Linux')) - task: PublishTestResults@2 - displayName: Publish Tests Results inputs: testResultsFiles: '*-results.xml' searchFolder: '$(Build.ArtifactStagingDirectory)/test-results' diff --git a/azure-pipelines-windows.yml b/azure-pipelines-windows.yml index 2b4d1cb9bd..b2252846cf 100644 --- a/azure-pipelines-windows.yml +++ b/azure-pipelines-windows.yml @@ -39,21 +39,21 @@ steps: - script: | yarn tslint - displayName: "Run TSLint" + displayName: Run TSLint - script: | yarn strict-null-check - displayName: "Run Strict Null Check" + displayName: Run Strict Null Check - script: | yarn compile - displayName: "Compile" + displayName: Compile - powershell: | .\scripts\test.bat --tfs "Unit Tests" + displayName: Run Unit Tests - task: PublishTestResults@2 - displayName: Publish Tests Results inputs: testResultsFiles: "*-results.xml" searchFolder: "$(Build.ArtifactStagingDirectory)/test-results"