mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Make appveyor fail if it cannot find test results
This commit is contained in:
@@ -25,6 +25,8 @@ build_script:
|
||||
|
||||
test_script:
|
||||
- ps: |
|
||||
# fail tests execution, if any PS error detected
|
||||
$ErrorActionPreference = 'Stop'
|
||||
# CoreCLR
|
||||
$testResultsFile = ".\TestsResults.xml"
|
||||
.\bin\powershell.exe --noprofile -c "Invoke-Pester test/powershell -OutputFormat NUnitXml -OutputFile $testResultsFile"
|
||||
|
||||
Reference in New Issue
Block a user