ANTsX / ANTsPy

A fast medical imaging analysis library in Python with algorithms for registration, segmentation, and more.
https://antspyx.readthedocs.io
Apache License 2.0
625 stars 161 forks source link

ENH: Check for test failures on windows #443

Closed cookpa closed 1 year ago

cookpa commented 1 year ago

As part of my quest to get ANTsPy working on Windows, I noticed that the windows test script will return 0 on failure, for example

https://github.com/cookpa/ANTsPy/actions/runs/4482864793/jobs/7881443873

Try to fix this by testing the exit code after every unit test

cookpa commented 1 year ago

OK It seems I cannot powershell

$LastExitCode was unexpected at this time.