AppVeyor did not find Python subprocess.CalledProcessError as error
Do you know why AppVeyor did not find Python subprocess.CalledProcessError as error?
The AppVeyor build
https://ci.appveyor.com/project/ecell/ecell4-base/builds/25519774#L5889
The build configuration in YAML format
https://github.com/ecell/ecell4-base/blob/62070f3371938f917eba38971eca1525a5c8a293/appveyor.yml
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Owen McDonnell on Jul 01, 2019 @ 06:41 AM
Powershell leaves it up to you to throw errors...
Easiest way to fix your config to work as you expect is to put your commands in a
ps1
file and put$ErrorActionPreference = "Stop"
at the top of that file.2 Posted by kozo.nishida on Jul 03, 2019 @ 06:39 PM
Thank you for your comment.
Although it is a different way from yours, I found how to write appveyor.yml that can detect error.
https://github.com/ecell/ecell4_base/blob/0c31312f9ff42ee88c8e7753f286ff67a41ada97/appveyor.yml#L25-L27
https://ci.appveyor.com/project/ecell/ecell4-base-aj36m/builds/25710156
kozo.nishida closed this discussion on Jul 03, 2019 @ 06:39 PM.