Skip to content

Commit

Permalink
[release/8.0.1xx-preview3] [CI] Use the checkout dir parameter as the…
Browse files Browse the repository at this point in the history
… root of the test projects. (#14460)

Backport of #14458 to release/8.0.1xx-preview3

/cc @mandel-macaque
  • Loading branch information
mandel-macaque authored Apr 7, 2023
2 parents e796231 + d798e39 commit 0541ad8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eng/pipelines/common/maui-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ jobs:

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

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

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

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

0 comments on commit 0541ad8

Please sign in to comment.