Closed willGraham01 closed 1 year ago
cellfinder
CI checks still fail as per brainglobe/cellfinder#276, but this PR is independent of what's causing that.
I think (thought?) we had an issue to expand CI to new Macs, but I can't find it for the life of me. Maybe we should open another one?
Before submitting a pull request (PR), please read the contributing guide.
Description
What is this PR
Why is this PR needed?
Tests the include-guard that denies use of the tools when
tensorflow
is not available.What does this PR do?
Adds a short check to make sure that the
tensorflow
include guard is behaving itself onubuntu
andmacOS
.pip install -e .
should successfully fetchtensorflow
and allow import.tensorflow
is not installed, importing the module should fail. Conditions for this test are achieved by having pip uninstalltensorflow
.References
How has this PR been tested?
Locally running the commands produces the outcomes that are checked against. New workflow has been introduced to check the results are as expected on CI.
Is this a breaking change?
No
Does this PR require an update to the documentation?
Checklist: