mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Engineering - Exploration to run tests in parallel (#149698)
This commit is contained in:
parent
688c802459
commit
d1f882f635
|
@ -1,6 +1,15 @@
|
||||||
parameters:
|
parameters:
|
||||||
- name: VSCODE_QUALITY
|
- name: VSCODE_QUALITY
|
||||||
type: string
|
type: string
|
||||||
|
- name: VSCODE_RUN_UNIT_TESTS
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- name: VSCODE_RUN_INTEGRATION_TESTS
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- name: VSCODE_RUN_SMOKE_TESTS
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
|
@ -165,24 +174,51 @@ steps:
|
||||||
VSCODE_ARCH=$(VSCODE_ARCH) DEBUG=electron-osx-sign* node build/darwin/sign.js
|
VSCODE_ARCH=$(VSCODE_ARCH) DEBUG=electron-osx-sign* node build/darwin/sign.js
|
||||||
displayName: Set Hardened Entitlements
|
displayName: Set Hardened Entitlements
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
./scripts/test.sh --build --tfs "Unit Tests"
|
./scripts/test.sh --build --tfs "Unit Tests"
|
||||||
displayName: Run unit tests (Electron)
|
displayName: Run unit tests (Electron)
|
||||||
timeoutInMinutes: 15
|
timeoutInMinutes: 15
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
yarn test-node --build
|
yarn test-node --build
|
||||||
displayName: Run unit tests (node.js)
|
displayName: Run unit tests (node.js)
|
||||||
timeoutInMinutes: 15
|
timeoutInMinutes: 15
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
DEBUG=*browser* yarn test-browser-no-install --sequential --build --browser chromium --browser webkit --tfs "Browser Unit Tests"
|
DEBUG=*browser* yarn test-browser-no-install --sequential --build --browser chromium --browser webkit --tfs "Browser Unit Tests"
|
||||||
displayName: Run unit tests (Browser, Chromium & Webkit)
|
displayName: Run unit tests (Browser, Chromium & Webkit)
|
||||||
timeoutInMinutes: 30
|
timeoutInMinutes: 30
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true) }}:
|
||||||
|
- script: |
|
||||||
|
set -e
|
||||||
|
yarn gulp \
|
||||||
|
compile-extension:css-language-features-server \
|
||||||
|
compile-extension:emmet \
|
||||||
|
compile-extension:git \
|
||||||
|
compile-extension:github-authentication \
|
||||||
|
compile-extension:html-language-features-server \
|
||||||
|
compile-extension:ipynb \
|
||||||
|
compile-extension:json-language-features-server \
|
||||||
|
compile-extension:markdown-language-features \
|
||||||
|
compile-extension-media \
|
||||||
|
compile-extension:microsoft-authentication \
|
||||||
|
compile-extension:typescript-language-features \
|
||||||
|
compile-extension:vscode-api-tests \
|
||||||
|
compile-extension:vscode-colorize-tests \
|
||||||
|
compile-extension:vscode-custom-editor-tests \
|
||||||
|
compile-extension:vscode-notebook-tests \
|
||||||
|
compile-extension:vscode-test-resolver
|
||||||
|
displayName: Build integration tests
|
||||||
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
# Figure out the full absolute path of the product we just built
|
# Figure out the full absolute path of the product we just built
|
||||||
# including the remote server and configure the integration tests
|
# including the remote server and configure the integration tests
|
||||||
|
@ -196,6 +232,7 @@ steps:
|
||||||
displayName: Run integration tests (Electron)
|
displayName: Run integration tests (Electron)
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-darwin-$(VSCODE_ARCH)" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-darwin-$(VSCODE_ARCH)" \
|
||||||
|
@ -203,6 +240,7 @@ steps:
|
||||||
displayName: Run integration tests (Browser, Webkit)
|
displayName: Run integration tests (Browser, Webkit)
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
APP_ROOT=$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)
|
APP_ROOT=$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)
|
||||||
|
@ -213,6 +251,7 @@ steps:
|
||||||
displayName: Run integration tests (Remote)
|
displayName: Run integration tests (Remote)
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
ps -ef
|
ps -ef
|
||||||
|
@ -220,6 +259,7 @@ steps:
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
condition: succeededOrFailed()
|
condition: succeededOrFailed()
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-darwin-$(VSCODE_ARCH)" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-darwin-$(VSCODE_ARCH)" \
|
||||||
|
@ -227,6 +267,7 @@ steps:
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
displayName: Run smoke tests (Browser, Chromium)
|
displayName: Run smoke tests (Browser, Chromium)
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
APP_ROOT=$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)
|
APP_ROOT=$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)
|
||||||
|
@ -235,8 +276,10 @@ steps:
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
displayName: Run smoke tests (Electron)
|
displayName: Run smoke tests (Electron)
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
|
yarn gulp compile-extension:vscode-test-resolver
|
||||||
APP_ROOT=$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)
|
APP_ROOT=$(agent.builddirectory)/VSCode-darwin-$(VSCODE_ARCH)
|
||||||
APP_NAME="`ls $APP_ROOT | head -n 1`"
|
APP_NAME="`ls $APP_ROOT | head -n 1`"
|
||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-darwin-$(VSCODE_ARCH)" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-darwin-$(VSCODE_ARCH)" \
|
||||||
|
@ -244,6 +287,7 @@ steps:
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
displayName: Run smoke tests (Remote)
|
displayName: Run smoke tests (Remote)
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
ps -ef
|
ps -ef
|
||||||
|
|
|
@ -1,6 +1,15 @@
|
||||||
parameters:
|
parameters:
|
||||||
- name: VSCODE_QUALITY
|
- name: VSCODE_QUALITY
|
||||||
type: string
|
type: string
|
||||||
|
- name: VSCODE_RUN_UNIT_TESTS
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- name: VSCODE_RUN_INTEGRATION_TESTS
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- name: VSCODE_RUN_SMOKE_TESTS
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
|
@ -221,6 +230,7 @@ steps:
|
||||||
stat $ELECTRON_ROOT/chrome-sandbox
|
stat $ELECTRON_ROOT/chrome-sandbox
|
||||||
displayName: Change setuid helper binary permission
|
displayName: Change setuid helper binary permission
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
./scripts/test.sh --build --tfs "Unit Tests"
|
./scripts/test.sh --build --tfs "Unit Tests"
|
||||||
|
@ -228,6 +238,7 @@ steps:
|
||||||
timeoutInMinutes: 15
|
timeoutInMinutes: 15
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
yarn test-node --build
|
yarn test-node --build
|
||||||
|
@ -235,6 +246,7 @@ steps:
|
||||||
timeoutInMinutes: 15
|
timeoutInMinutes: 15
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
DEBUG=*browser* yarn test-browser-no-install --build --browser chromium --tfs "Browser Unit Tests"
|
DEBUG=*browser* yarn test-browser-no-install --build --browser chromium --tfs "Browser Unit Tests"
|
||||||
|
@ -242,6 +254,30 @@ steps:
|
||||||
timeoutInMinutes: 15
|
timeoutInMinutes: 15
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true) }}:
|
||||||
|
- script: |
|
||||||
|
set -e
|
||||||
|
yarn gulp \
|
||||||
|
compile-extension:css-language-features-server \
|
||||||
|
compile-extension:emmet \
|
||||||
|
compile-extension:git \
|
||||||
|
compile-extension:github-authentication \
|
||||||
|
compile-extension:html-language-features-server \
|
||||||
|
compile-extension:ipynb \
|
||||||
|
compile-extension:json-language-features-server \
|
||||||
|
compile-extension:markdown-language-features \
|
||||||
|
compile-extension-media \
|
||||||
|
compile-extension:microsoft-authentication \
|
||||||
|
compile-extension:typescript-language-features \
|
||||||
|
compile-extension:vscode-api-tests \
|
||||||
|
compile-extension:vscode-colorize-tests \
|
||||||
|
compile-extension:vscode-custom-editor-tests \
|
||||||
|
compile-extension:vscode-notebook-tests \
|
||||||
|
compile-extension:vscode-test-resolver
|
||||||
|
displayName: Build integration tests
|
||||||
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
# Figure out the full absolute path of the product we just built
|
# Figure out the full absolute path of the product we just built
|
||||||
# including the remote server and configure the integration tests
|
# including the remote server and configure the integration tests
|
||||||
|
@ -257,6 +293,7 @@ steps:
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-linux-$(VSCODE_ARCH)" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-linux-$(VSCODE_ARCH)" \
|
||||||
|
@ -265,6 +302,7 @@ steps:
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
APP_ROOT=$(agent.builddirectory)/VSCode-linux-$(VSCODE_ARCH)
|
APP_ROOT=$(agent.builddirectory)/VSCode-linux-$(VSCODE_ARCH)
|
||||||
|
@ -277,6 +315,7 @@ steps:
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
ps -ef
|
ps -ef
|
||||||
|
@ -286,6 +325,7 @@ steps:
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
condition: and(succeededOrFailed(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeededOrFailed(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-linux-$(VSCODE_ARCH)" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-linux-$(VSCODE_ARCH)" \
|
||||||
|
@ -294,6 +334,7 @@ steps:
|
||||||
displayName: Run smoke tests (Browser, Chromium)
|
displayName: Run smoke tests (Browser, Chromium)
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
APP_PATH=$(agent.builddirectory)/VSCode-linux-$(VSCODE_ARCH)
|
APP_PATH=$(agent.builddirectory)/VSCode-linux-$(VSCODE_ARCH)
|
||||||
|
@ -302,8 +343,10 @@ steps:
|
||||||
displayName: Run smoke tests (Electron)
|
displayName: Run smoke tests (Electron)
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
|
yarn gulp compile-extension:vscode-test-resolver
|
||||||
APP_PATH=$(agent.builddirectory)/VSCode-linux-$(VSCODE_ARCH)
|
APP_PATH=$(agent.builddirectory)/VSCode-linux-$(VSCODE_ARCH)
|
||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-linux-$(VSCODE_ARCH)" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-linux-$(VSCODE_ARCH)" \
|
||||||
yarn smoketest-no-compile --tracing --remote --build "$APP_PATH"
|
yarn smoketest-no-compile --tracing --remote --build "$APP_PATH"
|
||||||
|
@ -311,6 +354,7 @@ steps:
|
||||||
displayName: Run smoke tests (Remote)
|
displayName: Run smoke tests (Remote)
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
ps -ef
|
ps -ef
|
||||||
|
|
|
@ -60,7 +60,8 @@ stages:
|
||||||
- Compile
|
- Compile
|
||||||
pool: vscode-1es-vscode-windows-2019
|
pool: vscode-1es-vscode-windows-2019
|
||||||
jobs:
|
jobs:
|
||||||
- job: Windows
|
- job: WindowsUnitTests
|
||||||
|
displayName: Unit Tests
|
||||||
timeoutInMinutes: 120
|
timeoutInMinutes: 120
|
||||||
variables:
|
variables:
|
||||||
VSCODE_ARCH: x64
|
VSCODE_ARCH: x64
|
||||||
|
@ -68,6 +69,33 @@ stages:
|
||||||
- template: win32/product-build-win32.yml
|
- template: win32/product-build-win32.yml
|
||||||
parameters:
|
parameters:
|
||||||
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
|
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
|
||||||
|
VSCODE_RUN_UNIT_TESTS: true
|
||||||
|
VSCODE_RUN_INTEGRATION_TESTS: false
|
||||||
|
VSCODE_RUN_SMOKE_TESTS: false
|
||||||
|
- job: WindowsIntegrationTests
|
||||||
|
displayName: Integration Tests
|
||||||
|
timeoutInMinutes: 120
|
||||||
|
variables:
|
||||||
|
VSCODE_ARCH: x64
|
||||||
|
steps:
|
||||||
|
- template: win32/product-build-win32.yml
|
||||||
|
parameters:
|
||||||
|
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
|
||||||
|
VSCODE_RUN_UNIT_TESTS: false
|
||||||
|
VSCODE_RUN_INTEGRATION_TESTS: true
|
||||||
|
VSCODE_RUN_SMOKE_TESTS: false
|
||||||
|
- job: WindowsSmokeTests
|
||||||
|
displayName: Smoke Tests
|
||||||
|
timeoutInMinutes: 120
|
||||||
|
variables:
|
||||||
|
VSCODE_ARCH: x64
|
||||||
|
steps:
|
||||||
|
- template: win32/product-build-win32.yml
|
||||||
|
parameters:
|
||||||
|
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
|
||||||
|
VSCODE_RUN_UNIT_TESTS: false
|
||||||
|
VSCODE_RUN_INTEGRATION_TESTS: false
|
||||||
|
VSCODE_RUN_SMOKE_TESTS: true
|
||||||
|
|
||||||
- stage: Linux
|
- stage: Linux
|
||||||
dependsOn:
|
dependsOn:
|
||||||
|
@ -75,7 +103,8 @@ stages:
|
||||||
- LinuxServerDependencies
|
- LinuxServerDependencies
|
||||||
pool: vscode-1es-vscode-linux-18.04
|
pool: vscode-1es-vscode-linux-18.04
|
||||||
jobs:
|
jobs:
|
||||||
- job: Linuxx64
|
- job: Linuxx64UnitTest
|
||||||
|
displayName: Unit Tests
|
||||||
container: vscode-bionic-x64
|
container: vscode-bionic-x64
|
||||||
variables:
|
variables:
|
||||||
VSCODE_ARCH: x64
|
VSCODE_ARCH: x64
|
||||||
|
@ -85,6 +114,37 @@ stages:
|
||||||
- template: linux/product-build-linux-client.yml
|
- template: linux/product-build-linux-client.yml
|
||||||
parameters:
|
parameters:
|
||||||
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
|
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
|
||||||
|
VSCODE_RUN_UNIT_TESTS: true
|
||||||
|
VSCODE_RUN_INTEGRATION_TESTS: false
|
||||||
|
VSCODE_RUN_SMOKE_TESTS: false
|
||||||
|
- job: Linuxx64IntegrationTest
|
||||||
|
displayName: Integration Tests
|
||||||
|
container: vscode-bionic-x64
|
||||||
|
variables:
|
||||||
|
VSCODE_ARCH: x64
|
||||||
|
NPM_ARCH: x64
|
||||||
|
DISPLAY: ":10"
|
||||||
|
steps:
|
||||||
|
- template: linux/product-build-linux-client.yml
|
||||||
|
parameters:
|
||||||
|
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
|
||||||
|
VSCODE_RUN_UNIT_TESTS: false
|
||||||
|
VSCODE_RUN_INTEGRATION_TESTS: true
|
||||||
|
VSCODE_RUN_SMOKE_TESTS: false
|
||||||
|
- job: Linuxx64SmokeTest
|
||||||
|
displayName: Smoke Tests
|
||||||
|
container: vscode-bionic-x64
|
||||||
|
variables:
|
||||||
|
VSCODE_ARCH: x64
|
||||||
|
NPM_ARCH: x64
|
||||||
|
DISPLAY: ":10"
|
||||||
|
steps:
|
||||||
|
- template: linux/product-build-linux-client.yml
|
||||||
|
parameters:
|
||||||
|
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
|
||||||
|
VSCODE_RUN_UNIT_TESTS: false
|
||||||
|
VSCODE_RUN_INTEGRATION_TESTS: false
|
||||||
|
VSCODE_RUN_SMOKE_TESTS: true
|
||||||
|
|
||||||
- stage: macOS
|
- stage: macOS
|
||||||
dependsOn:
|
dependsOn:
|
||||||
|
@ -94,7 +154,8 @@ stages:
|
||||||
variables:
|
variables:
|
||||||
BUILDSECMON_OPT_IN: true
|
BUILDSECMON_OPT_IN: true
|
||||||
jobs:
|
jobs:
|
||||||
- job: macOSTest
|
- job: macOSUnitTest
|
||||||
|
displayName: Unit Tests
|
||||||
timeoutInMinutes: 90
|
timeoutInMinutes: 90
|
||||||
variables:
|
variables:
|
||||||
VSCODE_ARCH: x64
|
VSCODE_ARCH: x64
|
||||||
|
@ -102,3 +163,30 @@ stages:
|
||||||
- template: darwin/product-build-darwin-test.yml
|
- template: darwin/product-build-darwin-test.yml
|
||||||
parameters:
|
parameters:
|
||||||
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
|
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
|
||||||
|
VSCODE_RUN_UNIT_TESTS: true
|
||||||
|
VSCODE_RUN_INTEGRATION_TESTS: false
|
||||||
|
VSCODE_RUN_SMOKE_TESTS: false
|
||||||
|
- job: macOSIntegrationTest
|
||||||
|
displayName: Integration Tests
|
||||||
|
timeoutInMinutes: 90
|
||||||
|
variables:
|
||||||
|
VSCODE_ARCH: x64
|
||||||
|
steps:
|
||||||
|
- template: darwin/product-build-darwin-test.yml
|
||||||
|
parameters:
|
||||||
|
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
|
||||||
|
VSCODE_RUN_UNIT_TESTS: false
|
||||||
|
VSCODE_RUN_INTEGRATION_TESTS: true
|
||||||
|
VSCODE_RUN_SMOKE_TESTS: false
|
||||||
|
- job: macOSSmokeTest
|
||||||
|
displayName: Smoke Tests
|
||||||
|
timeoutInMinutes: 90
|
||||||
|
variables:
|
||||||
|
VSCODE_ARCH: x64
|
||||||
|
steps:
|
||||||
|
- template: darwin/product-build-darwin-test.yml
|
||||||
|
parameters:
|
||||||
|
VSCODE_QUALITY: ${{ variables.VSCODE_QUALITY }}
|
||||||
|
VSCODE_RUN_UNIT_TESTS: false
|
||||||
|
VSCODE_RUN_INTEGRATION_TESTS: false
|
||||||
|
VSCODE_RUN_SMOKE_TESTS: true
|
||||||
|
|
|
@ -1,6 +1,15 @@
|
||||||
parameters:
|
parameters:
|
||||||
- name: VSCODE_QUALITY
|
- name: VSCODE_QUALITY
|
||||||
type: string
|
type: string
|
||||||
|
- name: VSCODE_RUN_UNIT_TESTS
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- name: VSCODE_RUN_INTEGRATION_TESTS
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- name: VSCODE_RUN_SMOKE_TESTS
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
|
@ -184,6 +193,7 @@ steps:
|
||||||
displayName: Download Playwright
|
displayName: Download Playwright
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
@ -193,6 +203,7 @@ steps:
|
||||||
timeoutInMinutes: 15
|
timeoutInMinutes: 15
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
@ -201,6 +212,7 @@ steps:
|
||||||
timeoutInMinutes: 15
|
timeoutInMinutes: 15
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
@ -209,6 +221,32 @@ steps:
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true) }}:
|
||||||
|
- powershell: |
|
||||||
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
|
$ErrorActionPreference = "Stop"
|
||||||
|
exec { yarn gulp `
|
||||||
|
compile-extension:css-language-features-server `
|
||||||
|
compile-extension:emmet `
|
||||||
|
compile-extension:git `
|
||||||
|
compile-extension:github-authentication `
|
||||||
|
compile-extension:html-language-features-server `
|
||||||
|
compile-extension:ipynb `
|
||||||
|
compile-extension:json-language-features-server `
|
||||||
|
compile-extension:markdown-language-features `
|
||||||
|
compile-extension-media `
|
||||||
|
compile-extension:microsoft-authentication `
|
||||||
|
compile-extension:typescript-language-features `
|
||||||
|
compile-extension:vscode-api-tests `
|
||||||
|
compile-extension:vscode-colorize-tests `
|
||||||
|
compile-extension:vscode-custom-editor-tests `
|
||||||
|
compile-extension:vscode-notebook-tests `
|
||||||
|
compile-extension:vscode-test-resolver `
|
||||||
|
}
|
||||||
|
displayName: Build integration tests
|
||||||
|
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true) }}:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
# Figure out the full absolute path of the product we just built
|
# Figure out the full absolute path of the product we just built
|
||||||
# including the remote server and configure the integration tests
|
# including the remote server and configure the integration tests
|
||||||
|
@ -223,6 +261,7 @@ steps:
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true) }}:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
@ -231,6 +270,7 @@ steps:
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_INTEGRATION_TESTS, true) }}:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
@ -242,6 +282,7 @@ steps:
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
exec {.\build\azure-pipelines\win32\listprocesses.bat }
|
exec {.\build\azure-pipelines\win32\listprocesses.bat }
|
||||||
|
@ -249,6 +290,7 @@ steps:
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
condition: and(succeededOrFailed(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
condition: and(succeededOrFailed(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
@ -258,6 +300,7 @@ steps:
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
@ -267,16 +310,19 @@ steps:
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
$AppRoot = "$(agent.builddirectory)\VSCode-win32-$(VSCODE_ARCH)"
|
$AppRoot = "$(agent.builddirectory)\VSCode-win32-$(VSCODE_ARCH)"
|
||||||
$env:VSCODE_REMOTE_SERVER_PATH = "$(agent.builddirectory)\vscode-reh-win32-$(VSCODE_ARCH)"
|
$env:VSCODE_REMOTE_SERVER_PATH = "$(agent.builddirectory)\vscode-reh-win32-$(VSCODE_ARCH)"
|
||||||
|
exec { yarn gulp compile-extension:vscode-test-resolver }
|
||||||
exec { yarn smoketest-no-compile --tracing --remote --build "$AppRoot" }
|
exec { yarn smoketest-no-compile --tracing --remote --build "$AppRoot" }
|
||||||
displayName: Run smoke tests (Remote)
|
displayName: Run smoke tests (Remote)
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.VSCODE_RUN_SMOKE_TESTS, true) }}:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
exec {.\build\azure-pipelines\win32\listprocesses.bat }
|
exec {.\build\azure-pipelines\win32\listprocesses.bat }
|
||||||
|
|
|
@ -21,19 +21,19 @@ if "%INTEGRATION_TEST_ELECTRON_PATH%"=="" (
|
||||||
:: Run from a built: need to compile all test extensions
|
:: Run from a built: need to compile all test extensions
|
||||||
:: because we run extension tests from their source folders
|
:: because we run extension tests from their source folders
|
||||||
:: and the build bundles extensions into .build webpacked
|
:: and the build bundles extensions into .build webpacked
|
||||||
call yarn gulp compile-extension:vscode-api-tests^
|
:: call yarn gulp compile-extension:vscode-api-tests^
|
||||||
compile-extension:vscode-colorize-tests^
|
:: compile-extension:vscode-colorize-tests^
|
||||||
compile-extension:markdown-language-features^
|
:: compile-extension:markdown-language-features^
|
||||||
compile-extension:typescript-language-features^
|
:: compile-extension:typescript-language-features^
|
||||||
compile-extension:vscode-custom-editor-tests^
|
:: compile-extension:vscode-custom-editor-tests^
|
||||||
compile-extension:vscode-notebook-tests^
|
:: compile-extension:vscode-notebook-tests^
|
||||||
compile-extension:emmet^
|
:: compile-extension:emmet^
|
||||||
compile-extension:css-language-features-server^
|
:: compile-extension:css-language-features-server^
|
||||||
compile-extension:html-language-features-server^
|
:: compile-extension:html-language-features-server^
|
||||||
compile-extension:json-language-features-server^
|
:: compile-extension:json-language-features-server^
|
||||||
compile-extension:git^
|
:: compile-extension:git^
|
||||||
compile-extension:ipynb^
|
:: compile-extension:ipynb^
|
||||||
compile-extension-media
|
:: compile-extension-media
|
||||||
|
|
||||||
:: Configuration for more verbose output
|
:: Configuration for more verbose output
|
||||||
set VSCODE_CLI=1
|
set VSCODE_CLI=1
|
||||||
|
|
|
@ -30,19 +30,19 @@ else
|
||||||
# Run from a built: need to compile all test extensions
|
# Run from a built: need to compile all test extensions
|
||||||
# because we run extension tests from their source folders
|
# because we run extension tests from their source folders
|
||||||
# and the build bundles extensions into .build webpacked
|
# and the build bundles extensions into .build webpacked
|
||||||
yarn gulp compile-extension:vscode-api-tests \
|
# yarn gulp compile-extension:vscode-api-tests \
|
||||||
compile-extension:vscode-colorize-tests \
|
# compile-extension:vscode-colorize-tests \
|
||||||
compile-extension:vscode-custom-editor-tests \
|
# compile-extension:vscode-custom-editor-tests \
|
||||||
compile-extension:vscode-notebook-tests \
|
# compile-extension:vscode-notebook-tests \
|
||||||
compile-extension:markdown-language-features \
|
# compile-extension:markdown-language-features \
|
||||||
compile-extension:typescript-language-features \
|
# compile-extension:typescript-language-features \
|
||||||
compile-extension:emmet \
|
# compile-extension:emmet \
|
||||||
compile-extension:css-language-features-server \
|
# compile-extension:css-language-features-server \
|
||||||
compile-extension:html-language-features-server \
|
# compile-extension:html-language-features-server \
|
||||||
compile-extension:json-language-features-server \
|
# compile-extension:json-language-features-server \
|
||||||
compile-extension:git \
|
# compile-extension:git \
|
||||||
compile-extension:ipynb \
|
# compile-extension:ipynb \
|
||||||
compile-extension-media
|
# compile-extension-media
|
||||||
|
|
||||||
# Configuration for more verbose output
|
# Configuration for more verbose output
|
||||||
export VSCODE_CLI=1
|
export VSCODE_CLI=1
|
||||||
|
|
|
@ -53,10 +53,10 @@ if "%INTEGRATION_TEST_ELECTRON_PATH%"=="" (
|
||||||
:: Run from a built: need to compile all test extensions
|
:: Run from a built: need to compile all test extensions
|
||||||
:: because we run extension tests from their source folders
|
:: because we run extension tests from their source folders
|
||||||
:: and the build bundles extensions into .build webpacked
|
:: and the build bundles extensions into .build webpacked
|
||||||
call yarn gulp compile-extension:vscode-api-tests^
|
:: call yarn gulp compile-extension:vscode-api-tests^
|
||||||
compile-extension:microsoft-authentication^
|
:: compile-extension:microsoft-authentication^
|
||||||
compile-extension:github-authentication^
|
:: compile-extension:github-authentication^
|
||||||
compile-extension:vscode-test-resolver
|
:: compile-extension:vscode-test-resolver
|
||||||
|
|
||||||
:: Configuration for more verbose output
|
:: Configuration for more verbose output
|
||||||
set VSCODE_CLI=1
|
set VSCODE_CLI=1
|
||||||
|
|
|
@ -47,16 +47,16 @@ else
|
||||||
# Run from a built: need to compile all test extensions
|
# Run from a built: need to compile all test extensions
|
||||||
# because we run extension tests from their source folders
|
# because we run extension tests from their source folders
|
||||||
# and the build bundles extensions into .build webpacked
|
# and the build bundles extensions into .build webpacked
|
||||||
yarn gulp compile-extension:vscode-api-tests \
|
# yarn gulp compile-extension:vscode-api-tests \
|
||||||
compile-extension:vscode-test-resolver \
|
# compile-extension:vscode-test-resolver \
|
||||||
compile-extension:markdown-language-features \
|
# compile-extension:markdown-language-features \
|
||||||
compile-extension:typescript-language-features \
|
# compile-extension:typescript-language-features \
|
||||||
compile-extension:emmet \
|
# compile-extension:emmet \
|
||||||
compile-extension:git \
|
# compile-extension:git \
|
||||||
compile-extension:ipynb \
|
# compile-extension:ipynb \
|
||||||
compile-extension:microsoft-authentication \
|
# compile-extension:microsoft-authentication \
|
||||||
compile-extension:github-authentication \
|
# compile-extension:github-authentication \
|
||||||
compile-extension-media
|
# compile-extension-media
|
||||||
|
|
||||||
# Configuration for more verbose output
|
# Configuration for more verbose output
|
||||||
export VSCODE_CLI=1
|
export VSCODE_CLI=1
|
||||||
|
|
|
@ -25,12 +25,12 @@ if "%VSCODE_REMOTE_SERVER_PATH%"=="" (
|
||||||
:: Run from a built: need to compile all test extensions
|
:: Run from a built: need to compile all test extensions
|
||||||
:: because we run extension tests from their source folders
|
:: because we run extension tests from their source folders
|
||||||
:: and the build bundles extensions into .build webpacked
|
:: and the build bundles extensions into .build webpacked
|
||||||
call yarn gulp compile-extension:vscode-api-tests^
|
:: call yarn gulp compile-extension:vscode-api-tests^
|
||||||
compile-extension:markdown-language-features^
|
:: compile-extension:markdown-language-features^
|
||||||
compile-extension:typescript-language-features^
|
:: compile-extension:typescript-language-features^
|
||||||
compile-extension:emmet^
|
:: compile-extension:emmet^
|
||||||
compile-extension:git^
|
:: compile-extension:git^
|
||||||
compile-extension-media
|
:: compile-extension-media
|
||||||
)
|
)
|
||||||
|
|
||||||
if not exist ".\test\integration\browser\out\index.js" (
|
if not exist ".\test\integration\browser\out\index.js" (
|
||||||
|
|
|
@ -19,13 +19,13 @@ else
|
||||||
# Run from a built: need to compile all test extensions
|
# Run from a built: need to compile all test extensions
|
||||||
# because we run extension tests from their source folders
|
# because we run extension tests from their source folders
|
||||||
# and the build bundles extensions into .build webpacked
|
# and the build bundles extensions into .build webpacked
|
||||||
yarn gulp compile-extension:vscode-api-tests \
|
# yarn gulp compile-extension:vscode-api-tests \
|
||||||
compile-extension:markdown-language-features \
|
# compile-extension:markdown-language-features \
|
||||||
compile-extension:typescript-language-features \
|
# compile-extension:typescript-language-features \
|
||||||
compile-extension:emmet \
|
# compile-extension:emmet \
|
||||||
compile-extension:git \
|
# compile-extension:git \
|
||||||
compile-extension:ipynb \
|
# compile-extension:ipynb \
|
||||||
compile-extension-media
|
# compile-extension-media
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e 'test/integration/browser/out/index.js' ];then
|
if [ ! -e 'test/integration/browser/out/index.js' ];then
|
||||||
|
|
Loading…
Reference in a new issue