Fix Pester call for FullCLR from appveyor.yml

This commit is contained in:
Sergei Vorobev 2016-07-01 10:18:51 -07:00
parent 4af2815740
commit 1a98407ee2
3 changed files with 5 additions and 5 deletions

View file

@ -43,7 +43,7 @@ test_script:
$env:FullOutput = Split-Path -Parent (Get-PSOutput -Options (New-PSOptions -FullCLR))
Write-Host -Foreground Green 'Run FullCLR tests'
$testResultsFileFullCLR = "$pwd\TestsResults.FullCLR.xml"
Start-DevPSGitHub -binDir $env:FullOutput -NoNewWindow -ArgumentList '-noprofile', '-noninteractive', '-command', "Import-Module .\src\Modules\Pester; Invoke-Pester test/fullCLR -OutputFormat NUnitXml -OutputFile $testResultsFileFullCLR"
Start-DevPSGitHub -NoNewWindow -ArgumentList '-noprofile', '-noninteractive', '-command', "`$env:PSModulePath = Join-Path `$env:DEVPATH Modules; Invoke-Pester test/fullCLR -OutputFormat NUnitXml -OutputFile $testResultsFileFullCLR"
(New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $testResultsFileFullCLR))
#
# Fail the build, if tests failed

View file

@ -17,7 +17,7 @@
"../Modules/Shared"
],
"exclude": [
"../Modules/Shared/Pester/.git"
"../Modules/Shared/Pester/.git*"
]
}
},
@ -36,7 +36,7 @@
"../Modules/Shared"
],
"exclude": [
"../Modules/Shared/Pester/.git"
"../Modules/Shared/Pester/.git*"
]
}
},

View file

@ -15,7 +15,7 @@
"../Modules/Shared"
],
"exclude": [
"../Modules/Shared/Pester/.git"
"../Modules/Shared/Pester/.git*"
]
}
},
@ -35,7 +35,7 @@
"../Modules/Shared"
],
"exclude": [
"../Modules/Shared/Pester/.git"
"../Modules/Shared/Pester/.git*"
]
}
},