Skip to content

Commit b4a00d6

Browse files
authored
Don't pass a boolean
1 parent 8b69c08 commit b4a00d6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

azure-pipelines/test-matrix.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ jobs:
1818
matrix:
1919
UnitTests:
2020
npmCommand: test:unit
21-
integration: false
21+
isIntegration: false
2222
CSharpIntegrationTests:
2323
npmCommand: test:integration:csharp
24-
integration: true
24+
isIntegration: true
2525
DevKitTests:
2626
npmCommand: test:integration:devkit
27-
integration: true
27+
isIntegration: true
2828
RazorTests:
2929
npmCommand: test:integration:razor
30-
integration: true
30+
isIntegration: true
3131
pool: ${{ parameters.pool }}
3232
${{ if parameters.containerName }}:
3333
container: ${{ parameters.containerName }}
@@ -38,4 +38,4 @@ jobs:
3838
installAdditionalLinuxDependencies: ${{ parameters.installAdditionalLinuxDependencies }}
3939
npmCommand: $(npmCommand)
4040
testVSCodeVersion: ${{ parameters.testVSCodeVersion }}
41-
isIntegrationTest: ${{ eq(variables.integration, 'true') }}
41+
isIntegration: $(isIntegration)

azure-pipelines/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ parameters:
88
type: string
99
- name: testVSCodeVersion
1010
type: string
11-
- name: isIntegrationTest
12-
type: boolean
11+
- name: isIntegration
12+
type: string
1313

1414
steps:
1515
- checkout: self
@@ -46,7 +46,7 @@ steps:
4646
mergeTestResults: true
4747
testRunTitle: $(System.StageDisplayName) $(Agent.JobName) (Attempt $(System.JobAttempt))
4848

49-
- ${{ if eq(parameters.isIntegrationTest, true) }}:
49+
- ${{ if eq(parameters.isIntegration, 'true') }}:
5050
- powershell: |
5151
$tempPath = [System.IO.Path]::GetTempPath()
5252
echo "Temp Path: $tempPath"

0 commit comments

Comments
 (0)