File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ task Pester-Meta -Depends Init {
44
44
$testResults = Invoke-Pester - Path $metaTests - PassThru - OutputFormat NUnitXml - OutputFile $testResultsFile
45
45
# If in AppVeyor, upload test results
46
46
if ($env: BHBuildSystem -eq ' AppVeyor' ) {
47
- (New-Object ' System.Net.WebClient' ).UploadFile(" https://ci.appveyor.com/api/testresults/nunit/$ ( $env: APPVEYOR_JOB_ID ) " , " $ProjectRoot \ $ testResultsFile" )
47
+ (New-Object ' System.Net.WebClient' ).UploadFile(" https://ci.appveyor.com/api/testresults/nunit/$ ( $env: APPVEYOR_JOB_ID ) " , $ testResultsFile )
48
48
}
49
49
if ($testResults.FailedCount -gt 0 ) {
50
50
$testResults | Format-List
@@ -63,7 +63,7 @@ task Pester-Module -depends Init {
63
63
$testResults = Invoke-Pester - Path $unitTests - PassThru - OutputFormat NUnitXml - OutputFile $testResultsFile
64
64
# If in AppVeyor, upload test results
65
65
if ($env: BHBuildSystem -eq ' AppVeyor' ) {
66
- (New-Object ' System.Net.WebClient' ).UploadFile(" https://ci.appveyor.com/api/testresults/nunit/$ ( $env: APPVEYOR_JOB_ID ) " , " $ProjectRoot \ $ testResultsFile" )
66
+ (New-Object ' System.Net.WebClient' ).UploadFile(" https://ci.appveyor.com/api/testresults/nunit/$ ( $env: APPVEYOR_JOB_ID ) " , $ testResultsFile )
67
67
}
68
68
if ($testResults.FailedCount -gt 0 ) {
69
69
$testResults | Format-List
You can’t perform that action at this time.
0 commit comments