Issue checking failure is graceful and informative if TF not installed on system, following a successful NiftyNet install
@@ -135,6 +135,9 @@ pip-installer:
# print Python version to CI output
- which python
- python --version
+ # NiftyNet console entries should fail gracefully if TF not installed
+ # i.e. check that the warning displays the TF website
+ - python -c "import niftynet" 2>&1 | grep "https://www.tensorflow.org/"
# NiftyNet should not install if TF not installed
- set +e
- pip install $niftynet_wheel; fail_on_success
@@ -163,6 +166,9 @@ pip-installer:
# print Python version to CI output
- which python
- python --version
+ # NiftyNet console entries should fail gracefully if TF not installed
+ # i.e. check that the warning displays the TF website
+ - python -c "import niftynet" 2>&1 | grep "https://www.tensorflow.org/"
# NiftyNet should not install if TF not installed
- set +e
- pip install $niftynet_wheel; fail_on_success
