Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions build/ci/templates/jobs/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ jobs:
parameters:
# In PRs, test only against stable version of VSC.
vscodeChannels: ['stable']
# In PRs, run smoke tests against 3.7 and 2.7 (excluding others).
# In PRs, run smoke tests against 3.7 (excluding others).
# Azure seems to hang very often when running tests against 2.7
jobs:
- test: "Smoke"
tags: "@smoke"
ignorePythonVersions: "3.6,3.5"
ignorePythonVersions: "2.7,3.6,3.5"
34 changes: 26 additions & 8 deletions build/ci/vscode-python-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ stages:
jobs:
- template: templates/jobs/build_compile.yml

- stage: Build_UITests
dependsOn: []
jobs:
- template: templates/jobs/build_uitests.yml

- stage: Tests
dependsOn: []
jobs:
Expand Down Expand Up @@ -272,15 +267,38 @@ stages:
- stage: Smoke
dependsOn:
- Build
- Build_UITests
jobs:
- template: templates/jobs/smoke.yml
- job: 'Smoke'
dependsOn: []
strategy:
matrix:
'Mac-Py3.7':
PythonVersion: '3.7'
VMImageName: 'macos-10.13'
TestsToRun: 'testSmoke'
NeedsPythonTestReqs: true
'Linux-Py3.7':
PythonVersion: '3.7'
VMImageName: 'ubuntu-16.04'
TestsToRun: 'testSmoke'
NeedsPythonTestReqs: true
'Win-Py3.7':
PythonVersion: '3.7'
VMImageName: 'vs2017-win2016'
TestsToRun: 'testSmoke'
NeedsPythonTestReqs: true

pool:
vmImage: $(VMImageName)

steps:
- template: templates/test_phases.yml


- stage: Reports
dependsOn:
- Smoke
- Tests
condition: always()
jobs:
- template: templates/jobs/merge_upload_uitest_report.yml
- template: templates/jobs/coverage.yml
34 changes: 26 additions & 8 deletions build/ci/vscode-python-nightly-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ stages:
jobs:
- template: templates/jobs/build_compile.yml

- stage: Build_UITests
dependsOn: []
jobs:
- template: templates/jobs/build_uitests.yml

- stage: Tests
dependsOn:
- Build
Expand Down Expand Up @@ -438,18 +433,41 @@ stages:
steps:
- template: templates/test_phases.yml


- stage: Smoke
dependsOn:
- Build
- Build_UITests
jobs:
- template: templates/jobs/smoke.yml
- job: 'Smoke'
dependsOn: []
strategy:
matrix:
'Mac-Py3.7':
PythonVersion: '3.7'
VMImageName: 'macos-10.13'
TestsToRun: 'testSmoke'
NeedsPythonTestReqs: true
'Linux-Py3.7':
PythonVersion: '3.7'
VMImageName: 'ubuntu-16.04'
TestsToRun: 'testSmoke'
NeedsPythonTestReqs: true
'Win-Py3.7':
PythonVersion: '3.7'
VMImageName: 'vs2017-win2016'
TestsToRun: 'testSmoke'
NeedsPythonTestReqs: true

pool:
vmImage: $(VMImageName)

steps:
- template: templates/test_phases.yml

- stage: Reports
dependsOn:
- Smoke
- Tests
condition: always()
jobs:
- template: templates/jobs/merge_upload_uitest_report.yml
- template: templates/jobs/coverage.yml
33 changes: 25 additions & 8 deletions build/ci/vscode-python-pr-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ stages:
jobs:
- template: templates/jobs/build_compile.yml

- stage: Build_UITests
dependsOn: []
jobs:
- template: templates/jobs/build_uitests.yml

- stage: Tests
dependsOn: []
jobs:
Expand Down Expand Up @@ -100,15 +95,37 @@ stages:
- stage: Smoke
dependsOn:
- Build
- Build_UITests
jobs:
- template: templates/jobs/smoke.yml
- job: 'Smoke'
dependsOn: []
strategy:
matrix:
'Mac-Py3.7':
PythonVersion: '3.7'
VMImageName: 'macos-10.13'
TestsToRun: 'testSmoke'
NeedsPythonTestReqs: true
'Linux-Py3.7':
PythonVersion: '3.7'
VMImageName: 'ubuntu-16.04'
TestsToRun: 'testSmoke'
NeedsPythonTestReqs: true
'Win-Py3.7':
PythonVersion: '3.7'
VMImageName: 'vs2017-win2016'
TestsToRun: 'testSmoke'
NeedsPythonTestReqs: true

pool:
vmImage: $(VMImageName)

steps:
- template: templates/test_phases.yml

- stage: Reports
dependsOn:
- Smoke
- Tests
condition: always()
jobs:
- template: templates/jobs/merge_upload_uitest_report.yml
- template: templates/jobs/coverage.yml