mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Make appveyor fail if it cannot find test results
This commit is contained in:
1 parent
5916b00261
commit
f3f0886e75
1 file changed
+2
@@ -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