mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Update pipelines (#7993)
* update pipelines * update * fix scripts * testing something * testing something * testing something * add github token * testing something * delete fiels
This commit is contained in:
@@ -1,85 +0,0 @@
|
|||||||
steps:
|
|
||||||
- script: |
|
|
||||||
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:10
|
|
||||||
sudo cp build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb
|
|
||||||
sudo chmod +x /etc/init.d/xvfb
|
|
||||||
sudo update-rc.d xvfb defaults
|
|
||||||
sudo service xvfb start
|
|
||||||
sudo apt-get install -y libkrb5-dev
|
|
||||||
# sh -e /etc/init.d/xvfb start
|
|
||||||
# sleep 3
|
|
||||||
displayName: "Linux preinstall"
|
|
||||||
condition: eq(variables['Agent.OS'], 'Linux')
|
|
||||||
|
|
||||||
- task: NodeTool@0
|
|
||||||
inputs:
|
|
||||||
versionSpec: "10.15.1"
|
|
||||||
|
|
||||||
- task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1
|
|
||||||
inputs:
|
|
||||||
keyfile: ".yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock"
|
|
||||||
targetfolder: "**/node_modules, !**/node_modules/**/node_modules"
|
|
||||||
vstsFeed: "$(build-cache)"
|
|
||||||
|
|
||||||
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@3
|
|
||||||
inputs:
|
|
||||||
versionSpec: "1.10.1"
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn --frozen-lockfile
|
|
||||||
displayName: Install Dependencies
|
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: $(GITHUB_TOKEN)
|
|
||||||
|
|
||||||
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
|
|
||||||
inputs:
|
|
||||||
keyfile: ".yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock"
|
|
||||||
targetfolder: "**/node_modules, !**/node_modules/**/node_modules"
|
|
||||||
vstsFeed: "$(build-cache)"
|
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn electron x64
|
|
||||||
displayName: Download Electron
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: $(GITHUB_TOKEN)
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn gulp hygiene --skip-tslint
|
|
||||||
displayName: Run Hygiene Checks
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn tslint
|
|
||||||
displayName: Run TSLint
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn strict-null-check
|
|
||||||
displayName: Run Strict Null Check
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn compile
|
|
||||||
displayName: Compile
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
DISPLAY=:10 ./scripts/test.sh --tfs "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: Run Unit Tests (Mac)
|
|
||||||
condition: and(succeeded(), ne(variables['Agent.OS'], 'Linux'))
|
|
||||||
|
|
||||||
- task: PublishTestResults@2
|
|
||||||
inputs:
|
|
||||||
testResultsFiles: '*-results.xml'
|
|
||||||
searchFolder: '$(Build.ArtifactStagingDirectory)/test-results'
|
|
||||||
condition: succeededOrFailed()
|
|
||||||
|
|
||||||
- task: PublishCodeCoverageResults@1
|
|
||||||
inputs:
|
|
||||||
codeCoverageTool: 'cobertura'
|
|
||||||
summaryFileLocation: $(System.DefaultWorkingDirectory)/.build/coverage/cobertura-coverage.xml
|
|
||||||
reportDirectory: $(System.DefaultWorkingDirectory)/.build/coverage/lcov-report
|
|
||||||
condition: ne(variables['Agent.OS'], 'Linux')
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
steps:
|
|
||||||
- task: NodeTool@0
|
|
||||||
inputs:
|
|
||||||
versionSpec: "10.15.1"
|
|
||||||
|
|
||||||
- task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1
|
|
||||||
inputs:
|
|
||||||
keyfile: ".yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock"
|
|
||||||
targetfolder: "**/node_modules, !**/node_modules/**/node_modules"
|
|
||||||
vstsFeed: "$(build-cache)"
|
|
||||||
|
|
||||||
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@3
|
|
||||||
inputs:
|
|
||||||
versionSpec: "1.10.1"
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn --frozen-lockfile
|
|
||||||
displayName: Install Dependencies
|
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: $(GITHUB_TOKEN)
|
|
||||||
|
|
||||||
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
|
|
||||||
inputs:
|
|
||||||
keyfile: ".yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock"
|
|
||||||
targetfolder: "**/node_modules, !**/node_modules/**/node_modules"
|
|
||||||
vstsFeed: "$(build-cache)"
|
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn electron x64
|
|
||||||
displayName: "Electron"
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: $(GITHUB_TOKEN)
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn gulp hygiene --skip-tslint
|
|
||||||
displayName: Run Hygiene Checks
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn tslint
|
|
||||||
displayName: Run TSLint
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn strict-null-check
|
|
||||||
displayName: Run Strict Null Check
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
yarn compile
|
|
||||||
displayName: Compile
|
|
||||||
|
|
||||||
- powershell: |
|
|
||||||
.\scripts\test.bat --tfs "Unit Tests"
|
|
||||||
displayName: Run Unit Tests
|
|
||||||
|
|
||||||
- task: PublishTestResults@2
|
|
||||||
inputs:
|
|
||||||
testResultsFiles: "*-results.xml"
|
|
||||||
searchFolder: "$(Build.ArtifactStagingDirectory)/test-results"
|
|
||||||
condition: succeededOrFailed()
|
|
||||||
@@ -1,22 +1,18 @@
|
|||||||
trigger:
|
|
||||||
- master
|
|
||||||
- release/*
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: Windows
|
- job: Windows
|
||||||
pool:
|
pool:
|
||||||
vmImage: VS2017-Win2016
|
vmImage: VS2017-Win2016
|
||||||
steps:
|
steps:
|
||||||
- template: azure-pipelines-windows.yml
|
- template: build/azure-pipelines/win32/continuous-build-win32.yml
|
||||||
|
|
||||||
- job: Linux
|
- job: Linux
|
||||||
pool:
|
pool:
|
||||||
vmImage: "Ubuntu-16.04"
|
vmImage: 'Ubuntu-16.04'
|
||||||
steps:
|
steps:
|
||||||
- template: azure-pipelines-linux-mac.yml
|
- template: build/azure-pipelines/linux/continuous-build-linux.yml
|
||||||
|
|
||||||
- job: macOS
|
- job: macOS
|
||||||
pool:
|
pool:
|
||||||
vmImage: macOS 10.13
|
vmImage: macOS 10.13
|
||||||
steps:
|
steps:
|
||||||
- template: azure-pipelines-linux-mac.yml
|
- template: build/azure-pipelines/darwin/continuous-build-darwin.yml
|
||||||
|
|||||||
@@ -6,19 +6,21 @@ steps:
|
|||||||
inputs:
|
inputs:
|
||||||
keyfile: '.yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
|
keyfile: '.yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
|
||||||
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
|
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
|
||||||
vstsFeed: '$(ArtifactFeed)'
|
vstsFeed: '$(build-cache)' # {{SQL CARBON EDIT}} update build cache
|
||||||
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
|
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@3 # {{SQL CARBON EDIT}} update version
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: "1.x"
|
versionSpec: "1.x"
|
||||||
- script: |
|
- script: |
|
||||||
CHILD_CONCURRENCY=1 yarn --frozen-lockfile
|
CHILD_CONCURRENCY=1 yarn --frozen-lockfile
|
||||||
displayName: Install Dependencies
|
displayName: Install Dependencies
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: $(GITHUB_TOKEN) # {{SQL CARBON EDIT}} add github token
|
||||||
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
|
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
|
||||||
inputs:
|
inputs:
|
||||||
keyfile: '.yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
|
keyfile: '.yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
|
||||||
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
|
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
|
||||||
vstsFeed: '$(ArtifactFeed)'
|
vstsFeed: '$(build-cache)' # {{SQL CARBON EDIT}} update build cache
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
||||||
- script: |
|
- script: |
|
||||||
yarn electron x64
|
yarn electron x64
|
||||||
@@ -29,21 +31,27 @@ steps:
|
|||||||
- script: |
|
- script: |
|
||||||
yarn gulp tslint
|
yarn gulp tslint
|
||||||
displayName: Run TSLint Checks
|
displayName: Run TSLint Checks
|
||||||
- script: |
|
- script: | # {{SQL CARBON EDIT}} add step
|
||||||
yarn monaco-compile-check
|
yarn strict-null-check
|
||||||
displayName: Run Monaco Editor Checks
|
displayName: Run Strict Null Check.
|
||||||
|
- script: | # {{SQL CARBON EDIT}} add step
|
||||||
|
yarn tslint
|
||||||
|
displayName: Run TSLint (gci)
|
||||||
|
# - script: | {{SQL CARBON EDIT}} remove step
|
||||||
|
# yarn monaco-compile-check
|
||||||
|
# displayName: Run Monaco Editor Checks
|
||||||
- script: |
|
- script: |
|
||||||
yarn compile
|
yarn compile
|
||||||
displayName: Compile Sources
|
displayName: Compile Sources
|
||||||
- script: |
|
# - script: | {{SQL CARBON EDIT}} remove step
|
||||||
yarn download-builtin-extensions
|
# yarn download-builtin-extensions
|
||||||
displayName: Download Built-in Extensions
|
# displayName: Download Built-in Extensions
|
||||||
- script: |
|
- script: |
|
||||||
./scripts/test.sh --tfs "Unit Tests"
|
./scripts/test.sh --tfs "Unit Tests"
|
||||||
displayName: Run Unit Tests
|
displayName: Run Unit Tests
|
||||||
- script: |
|
# - script: | {{SQL CARBON EDIT}} remove step
|
||||||
./scripts/test-integration.sh --tfs "Integration Tests"
|
# ./scripts/test-integration.sh --tfs "Integration Tests"
|
||||||
displayName: Run Integration Tests
|
# displayName: Run Integration Tests
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
displayName: Publish Tests Results
|
displayName: Publish Tests Results
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ steps:
|
|||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0
|
sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 libkrb5-dev #{{SQL CARBON EDIT}} add kerberos dep
|
||||||
sudo cp build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb
|
sudo cp build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb
|
||||||
sudo chmod +x /etc/init.d/xvfb
|
sudo chmod +x /etc/init.d/xvfb
|
||||||
sudo update-rc.d xvfb defaults
|
sudo update-rc.d xvfb defaults
|
||||||
@@ -14,19 +14,21 @@ steps:
|
|||||||
inputs:
|
inputs:
|
||||||
keyfile: '.yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
|
keyfile: '.yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
|
||||||
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
|
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
|
||||||
vstsFeed: '$(ArtifactFeed)'
|
vstsFeed: '$(build-cache)' # {{SQL CARBON EDIT}} update build cache
|
||||||
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
|
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@3 # {{SQL CARBON EDIT}} update version
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: "1.x"
|
versionSpec: "1.x"
|
||||||
- script: |
|
- script: |
|
||||||
CHILD_CONCURRENCY=1 yarn --frozen-lockfile
|
CHILD_CONCURRENCY=1 yarn --frozen-lockfile
|
||||||
displayName: Install Dependencies
|
displayName: Install Dependencies
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: $(GITHUB_TOKEN) # {{SQL CARBON EDIT}} add github token
|
||||||
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
|
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
|
||||||
inputs:
|
inputs:
|
||||||
keyfile: '.yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
|
keyfile: '.yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
|
||||||
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
|
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
|
||||||
vstsFeed: '$(ArtifactFeed)'
|
vstsFeed: '$(ArtifactFeed)' # {{SQL CARBON EDIT}} update build cache
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
||||||
- script: |
|
- script: |
|
||||||
yarn electron x64
|
yarn electron x64
|
||||||
@@ -37,21 +39,27 @@ steps:
|
|||||||
- script: |
|
- script: |
|
||||||
yarn gulp tslint
|
yarn gulp tslint
|
||||||
displayName: Run TSLint Checks
|
displayName: Run TSLint Checks
|
||||||
- script: |
|
- script: | # {{SQL CARBON EDIT}} add gci checks
|
||||||
yarn monaco-compile-check
|
yarn tslint
|
||||||
displayName: Run Monaco Editor Checks
|
displayName: Run TSLint (gci)
|
||||||
|
- script: | # {{SQL CARBON EDIT}} add strict null check
|
||||||
|
yarn strict-null-check
|
||||||
|
displayName: Run Strict Null Check
|
||||||
|
# - script: | {{SQL CARBON EDIT}} remove monaco editor checks
|
||||||
|
# yarn monaco-compile-check
|
||||||
|
# displayName: Run Monaco Editor Checks
|
||||||
- script: |
|
- script: |
|
||||||
yarn compile
|
yarn compile
|
||||||
displayName: Compile Sources
|
displayName: Compile Sources
|
||||||
- script: |
|
# - script: | {{SQL CARBON EDIT}} remove step
|
||||||
yarn download-builtin-extensions
|
# yarn download-builtin-extensions
|
||||||
displayName: Download Built-in Extensions
|
# displayName: Download Built-in Extensions
|
||||||
- script: |
|
- script: |
|
||||||
DISPLAY=:10 ./scripts/test.sh --tfs "Unit Tests"
|
DISPLAY=:10 ./scripts/test.sh --tfs "Unit Tests"
|
||||||
displayName: Run Unit Tests
|
displayName: Run Unit Tests
|
||||||
- script: |
|
# - script: | {{SQL CARBON EDIT}} remove step
|
||||||
DISPLAY=:10 ./scripts/test-integration.sh --tfs "Integration Tests"
|
# DISPLAY=:10 ./scripts/test-integration.sh --tfs "Integration Tests"
|
||||||
displayName: Run Integration Tests
|
# displayName: Run Integration Tests
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
displayName: Publish Tests Results
|
displayName: Publish Tests Results
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ steps:
|
|||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: "10.15.1"
|
versionSpec: "10.15.1"
|
||||||
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
|
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@3 # {{SQL CARBON EDIT}} update version
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: "1.x"
|
versionSpec: "1.x"
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
@@ -13,18 +13,19 @@ steps:
|
|||||||
inputs:
|
inputs:
|
||||||
keyfile: '.yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
|
keyfile: '.yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
|
||||||
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
|
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
|
||||||
vstsFeed: '$(ArtifactFeed)'
|
vstsFeed: '$(build-cache)' # {{SQL CARBON EDIT}} update build cache
|
||||||
- powershell: |
|
- powershell: |
|
||||||
yarn --frozen-lockfile
|
yarn --frozen-lockfile
|
||||||
env:
|
env:
|
||||||
CHILD_CONCURRENCY: "1"
|
CHILD_CONCURRENCY: "1"
|
||||||
|
GITHUB_TOKEN: $(GITHUB_TOKEN) # {{SQL CARBON EDIT}} add github token
|
||||||
displayName: Install Dependencies
|
displayName: Install Dependencies
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
||||||
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
|
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
|
||||||
inputs:
|
inputs:
|
||||||
keyfile: '.yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
|
keyfile: '.yarnrc, remote/.yarnrc, **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
|
||||||
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
|
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
|
||||||
vstsFeed: '$(ArtifactFeed)'
|
vstsFeed: '$(build-cache)' # {{SQL CARBON EDIT}} update build cache
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
||||||
- powershell: |
|
- powershell: |
|
||||||
yarn electron
|
yarn electron
|
||||||
@@ -34,21 +35,27 @@ steps:
|
|||||||
- script: |
|
- script: |
|
||||||
yarn gulp tslint
|
yarn gulp tslint
|
||||||
displayName: Run TSLint Checks
|
displayName: Run TSLint Checks
|
||||||
- powershell: |
|
- script: | # {{SQL CARBON EDIT}} add step
|
||||||
yarn monaco-compile-check
|
yarn tslint
|
||||||
displayName: Run Monaco Editor Checks
|
displayName: Run TSLint (gci)
|
||||||
|
- script: | # {{SQL CARBON EDIT}} add step
|
||||||
|
yarn strict-null-check
|
||||||
|
displayName: Run Strict Null Check
|
||||||
|
# - powershell: | {{SQL CARBON EDIT}} remove step
|
||||||
|
# yarn monaco-compile-check
|
||||||
|
# displayName: Run Monaco Editor Checks
|
||||||
- powershell: |
|
- powershell: |
|
||||||
yarn compile
|
yarn compile
|
||||||
displayName: Compile Sources
|
displayName: Compile Sources
|
||||||
- powershell: |
|
# - powershell: | {{SQL CARBON EDIT}} remove step
|
||||||
yarn download-builtin-extensions
|
# yarn download-builtin-extensions
|
||||||
displayName: Download Built-in Extensions
|
# displayName: Download Built-in Extensions
|
||||||
- powershell: |
|
- powershell: |
|
||||||
.\scripts\test.bat --tfs "Unit Tests"
|
.\scripts\test.bat --tfs "Unit Tests"
|
||||||
displayName: Run Unit Tests
|
displayName: Run Unit Tests
|
||||||
- powershell: |
|
# - powershell: | {{SQL CARBON EDIT}} remove step
|
||||||
.\scripts\test-integration.bat --tfs "Integration Tests"
|
# .\scripts\test-integration.bat --tfs "Integration Tests"
|
||||||
displayName: Run Integration Tests
|
# displayName: Run Integration Tests
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
displayName: Publish Tests Results
|
displayName: Publish Tests Results
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
Reference in New Issue
Block a user