Skip to content

Commit 0541ad8

Browse files
[release/8.0.1xx-preview3] [CI] Use the checkout dir parameter as the root of the test projects. (#14460)
Backport of #14458 to release/8.0.1xx-preview3 /cc @mandel-macaque
2 parents e796231 + d798e39 commit 0541ad8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: eng/pipelines/common/maui-templates.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ jobs:
101101

102102
- task: DotNetCoreCLI@2
103103
inputs:
104-
projects: $(Build.SourcesDirectory)/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Microsoft.Maui.IntegrationTests.csproj
104+
projects: ${{ parameters.checkoutDirectory }}/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Microsoft.Maui.IntegrationTests.csproj
105105
displayName: Build Microsoft.Maui.IntegrationTests
106106

107107
- task: DotNetCoreCLI@2
108108
inputs:
109109
command: test
110-
projects: $(Build.SourcesDirectory)/src/TestUtils/src/Microsoft.Maui.IntegrationTests/bin/Debug/net7.0/Microsoft.Maui.IntegrationTests.dll
110+
projects: ${{ parameters.checkoutDirectory }}/src/TestUtils/src/Microsoft.Maui.IntegrationTests/bin/Debug/net7.0/Microsoft.Maui.IntegrationTests.dll
111111
arguments: --logger "console;verbosity=normal" --filter "FullyQualifiedName=Microsoft.Maui.IntegrationTests.TemplateTests"
112112
publishTestResults: true
113113
testRunTitle: ${{ BuildPlatform.name }} template build tests
@@ -164,13 +164,13 @@ jobs:
164164

165165
- task: DotNetCoreCLI@2
166166
inputs:
167-
projects: $(Build.SourcesDirectory)/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Microsoft.Maui.IntegrationTests.csproj
167+
projects: ${{ parameters.checkoutDirectory }}/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Microsoft.Maui.IntegrationTests.csproj
168168
displayName: Build Microsoft.Maui.IntegrationTests
169169

170170
- task: DotNetCoreCLI@2
171171
inputs:
172172
command: test
173-
projects: $(Build.SourcesDirectory)/src/TestUtils/src/Microsoft.Maui.IntegrationTests/bin/Debug/net7.0/Microsoft.Maui.IntegrationTests.dll
173+
projects: ${{ parameters.checkoutDirectory }}/src/TestUtils/src/Microsoft.Maui.IntegrationTests/bin/Debug/net7.0/Microsoft.Maui.IntegrationTests.dll
174174
arguments: --logger "console;verbosity=normal" --filter "Name=${{ RunPlatform.testName }}"
175175
publishTestResults: true
176176
testRunTitle: ${{ RunPlatform.testName }} template run tests

0 commit comments

Comments
 (0)