Fix Pester call for FullCLR from appveyor.yml
This commit is contained in:
parent
4af2815740
commit
1a98407ee2
|
@ -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
|
||||
|
|
|
@ -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*"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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*"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue