mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
49 lines
1.5 KiB
YAML
49 lines
1.5 KiB
YAML
steps:
|
|
- task: NodeTool@0
|
|
inputs:
|
|
versionSpec: "8.9.1"
|
|
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
|
|
inputs:
|
|
versionSpec: "1.9.4"
|
|
- powershell: |
|
|
yarn
|
|
displayName: Install Dependencies
|
|
- powershell: |
|
|
yarn gulp electron
|
|
displayName: Download Electron
|
|
- powershell: |
|
|
yarn gulp hygiene
|
|
displayName: Run Hygiene Checks
|
|
- powershell: |
|
|
yarn monaco-compile-check
|
|
displayName: Run Monaco Editor Checks
|
|
- powershell: |
|
|
yarn compile
|
|
displayName: Compile Sources
|
|
- powershell: |
|
|
yarn download-builtin-extensions
|
|
displayName: Download Built-in Extensions
|
|
- powershell: |
|
|
.\scripts\test.bat --tfs "Unit Tests"
|
|
displayName: Run Unit Tests
|
|
- powershell: |
|
|
.\scripts\test-integration.bat --tfs "Integration Tests"
|
|
displayName: Run Integration Tests
|
|
- powershell: |
|
|
yarn smoketest --screenshots "$(Build.ArtifactStagingDirectory)\artifacts" --log "$(Build.ArtifactStagingDirectory)\artifacts\smoketest.log"
|
|
displayName: Run Smoke Tests
|
|
continueOnError: true
|
|
- task: PublishBuildArtifacts@1
|
|
displayName: Publish Smoketest Artifacts
|
|
inputs:
|
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)/artifacts'
|
|
ArtifactName: build-artifacts-win32
|
|
publishLocation: Container
|
|
condition: eq(variables['System.PullRequest.IsFork'], 'False')
|
|
- task: PublishTestResults@2
|
|
displayName: Publish Tests Results
|
|
inputs:
|
|
testResultsFiles: '*-results.xml'
|
|
searchFolder: '$(Build.ArtifactStagingDirectory)/test-results'
|
|
condition: succeededOrFailed()
|