Skip to content

Commit 185b241

Browse files
ckairenmikeharder
andauthored
tsv test pipeline (#26539)
* tsv test pipeline * test failure * Update eng/tools/TypeSpecValidation/test/git-diff.test.ts * Update eng/pipelines/typespec-validation-ci.yml Co-authored-by: Mike Harder <mharder@microsoft.com> * Update eng/pipelines/typespec-validation-ci.yml Co-authored-by: Mike Harder <mharder@microsoft.com> --------- Co-authored-by: Mike Harder <mharder@microsoft.com>
1 parent a2f6f74 commit 185b241

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
trigger:
2+
branches:
3+
include:
4+
- main
5+
- typespec-next
6+
7+
pr:
8+
branches:
9+
include:
10+
- main
11+
- typespec-next
12+
paths:
13+
include:
14+
- package-lock.json
15+
- package.json
16+
- tsconfig.json
17+
- eng/tools/TypeSpecValidation
18+
19+
jobs:
20+
- job: Test_TypeSpec_Validation
21+
22+
strategy:
23+
matrix:
24+
Linux:
25+
Pool: azsdk-pool-mms-ubuntu-2204-general
26+
OsVmImage: ubuntu-22.04
27+
Windows:
28+
Pool: azsdk-pool-mms-win-2022-general
29+
OsVmImage: windows-2022
30+
31+
pool:
32+
name: $(Pool)
33+
vmImage: $(OSVmImage)
34+
35+
steps:
36+
- template: /eng/pipelines/templates/steps/npm-install.yml
37+
38+
- script: npm test
39+
displayName: Test TypeSpecValidation Tool
40+
workingDirectory: $(Build.SourcesDirectory)/eng/tools/TypeSpecValidation

0 commit comments

Comments
 (0)