Skip to content

Commit 6b4e49f

Browse files
ci: adding pipeline refs #2
1 parent 2718ae7 commit 6b4e49f

File tree

6 files changed

+1677
-482
lines changed

6 files changed

+1677
-482
lines changed

.azure-pipelines/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
trigger:
2+
- master
3+
4+
pr:
5+
- master
6+
7+
pool:
8+
vmImage: 'Ubuntu-16.04'
9+
10+
resources:
11+
repositories:
12+
- repository: templates
13+
type: github
14+
name: swellaby/azure-pipelines-templates
15+
endpoint: swellaby
16+
17+
steps:
18+
- template: templates/yml/node/combo/npm-test-lint-validation-xunit-cobertura.yml@templates
19+
parameters:
20+
publishTestResults:
21+
taskDisplayName: 'Publish unit test results'
22+
testResultsFormat: 'JUnit'
23+
testResultsFiles: 'xunit.xml'
24+
searchFolder: '$(Build.SourcesDirectory)/.testresults/unit'
25+
testRunTitle: 'vscode-python-pack::Unit Tests::Build $(Build.BuildId)'
26+

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"eamodio.gitlens",
77
"pflannery.vscode-versionlens",
88
"hbenl.vscode-test-explorer",
9-
"hbenl.vscode-mocha-test-adapter"
9+
"hbenl.vscode-mocha-test-adapter",
10+
"ms-azure-devops.azure-pipelines"
1011
]
1112
}

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
"npm",
3636
"python",
3737
"softwareTerms"
38-
]
38+
],
39+
"files.associations": {
40+
"**/.azure-pipelines/**": "azure-pipelines"
41+
},
3942
}

.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ test/
1111
.eslintrc.js
1212
.gitattributes
1313
.gitignore
14+
.mocharc.yml
1415
package-lock.json
1516
renovate.json

0 commit comments

Comments
 (0)