Rename some build steps (#7202)

* rename some build steps

* unify naming
This commit is contained in:
Anthony Dresser
2019-09-13 13:52:01 -07:00
committed by GitHub
parent 29dbce079b
commit 9229b26b9e
2 changed files with 9 additions and 10 deletions

View File

@@ -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'

View File

@@ -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"