@@ -95,8 +95,8 @@ stages:
9595 displayName : ' Run Unit Test'
9696 inputs :
9797 filePath : ' ./build.ps1'
98- arguments : " -Tasks test -PesterScript 'tests/Unit'"
99- pwsh : false
98+ arguments : " -Tasks test -PesterPath 'tests/Unit'"
99+ pwsh : true
100100 - task : PublishTestResults@2
101101 displayName : ' Publish Test Results'
102102 condition : succeededOrFailed()
@@ -123,8 +123,8 @@ stages:
123123 displayName : ' Run Unit Test'
124124 inputs :
125125 filePath : ' ./build.ps1'
126- arguments : " -Tasks test -PesterScript 'tests/Unit'"
127- pwsh : false
126+ arguments : " -Tasks test -PesterPath 'tests/Unit'"
127+ pwsh : true
128128 - task : PublishTestResults@2
129129 displayName : ' Publish Test Results'
130130 condition : succeededOrFailed()
@@ -164,7 +164,7 @@ stages:
164164 displayName : ' Run Integration Test'
165165 inputs :
166166 filePath : ' ./build.ps1'
167- arguments : " -Tasks test -PesterScript 'tests/Integration' -CodeCoverageThreshold 0"
167+ arguments : " -Tasks test -PesterPath 'tests/Integration' -CodeCoverageThreshold 0"
168168 pwsh : false
169169 - task : PublishTestResults@2
170170 displayName : ' Publish Test Results'
@@ -199,7 +199,7 @@ stages:
199199 displayName : ' Run Integration Test'
200200 inputs :
201201 filePath : ' ./build.ps1'
202- arguments : " -Tasks test -PesterScript 'tests/Integration' -CodeCoverageThreshold 0"
202+ arguments : " -Tasks test -PesterPath 'tests/Integration' -CodeCoverageThreshold 0"
203203 pwsh : false
204204 - task : PublishTestResults@2
205205 displayName : ' Publish Test Results'
0 commit comments