Skip to content

Commit cee0c18

Browse files
authored
Skip CSharpIntegrationTests on Windows (#8526)
2 parents 3a16137 + f456835 commit cee0c18

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ stages:
5252
jobs:
5353
- template: azure-pipelines/test-matrix.yml
5454
parameters:
55+
os: linux
5556
# Prefer the dotnet from the container.
5657
dotnetVersion: ''
5758
testVSCodeVersion: $(testVSCodeVersion)
@@ -67,6 +68,7 @@ stages:
6768
jobs:
6869
- template: azure-pipelines/test-matrix.yml
6970
parameters:
71+
os: linux
7072
# Prefer the dotnet from the container.
7173
dotnetVersion: ''
7274
testVSCodeVersion: $(testVSCodeVersion)
@@ -82,6 +84,7 @@ stages:
8284
jobs:
8385
- template: azure-pipelines/test-matrix.yml
8486
parameters:
87+
os: windows
8588
dotnetVersion: $(defaultDotnetVersion)
8689
testVSCodeVersion: $(testVSCodeVersion)
8790
pool:
@@ -94,6 +97,7 @@ stages:
9497
jobs:
9598
- template: azure-pipelines/test-matrix.yml
9699
parameters:
100+
os: macos
97101
dotnetVersion: $(defaultDotnetVersion)
98102
testVSCodeVersion: $(testVSCodeVersion)
99103
pool:

azure-pipelines/test-matrix.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
parameters:
2+
- name: os
3+
type: string
24
- name: pool
35
type: object
46
- name: containerName
@@ -19,9 +21,10 @@ jobs:
1921
UnitTests:
2022
npmCommand: test:unit
2123
isIntegration: false
22-
CSharpIntegrationTests:
23-
npmCommand: test:integration:csharp
24-
isIntegration: true
24+
${{ if ne(parameters.os, 'windows') }}:
25+
CSharpIntegrationTests:
26+
npmCommand: test:integration:csharp
27+
isIntegration: true
2528
DevKitTests:
2629
npmCommand: test:integration:devkit
2730
isIntegration: true

0 commit comments

Comments
 (0)