forked from loafle/openapi-generator-original
better appveyor test (#5739)
This commit is contained in:
parent
57dc8a43f6
commit
53a230a9a3
@ -9,4 +9,9 @@ install:
|
||||
- ps: Install-Module Pester -Force -Scope CurrentUser
|
||||
build: off
|
||||
test_script:
|
||||
- ps: Invoke-Pester -EnableExit
|
||||
- ps: |
|
||||
$Result = Invoke-Pester -PassThru
|
||||
if ($Result.FailedCount -gt 0) {
|
||||
$host.SetShouldExit($Result.FailedCount)
|
||||
exit $Result.FailedCount
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
4.3.0-SNAPSHOT
|
||||
4.3.1-SNAPSHOT
|
@ -15,4 +15,9 @@ install:
|
||||
- ps: Install-Module Pester -Force -Scope CurrentUser
|
||||
build: off
|
||||
test_script:
|
||||
- ps: Invoke-Pester -EnableExit
|
||||
- ps: |
|
||||
$Result = Invoke-Pester -PassThru
|
||||
if ($Result.FailedCount -gt 0) {
|
||||
$host.SetShouldExit($Result.FailedCount)
|
||||
exit $Result.FailedCount
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user