-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip TensorFlow dependent tests if Tensorflow is not installed #107
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not entirely sure, but I don't think you need to make any changes in test_elmo.py
or test_universal_sentence_encoder.py
as those filenames will also match against the strings in the skip_files
list in conftest.py
causing those files to get skipped entirely if tensorflow is not installed. I think.
I'm doing some similar work on featuretools right now EvalML did some work like this previously: alteryx/evalml#2922 I think there should be a way to run the unit tests without tensorflow installed, but the tensorflow tests should run (and fail) if tensorflow is not installed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Fixes #107 |
Skip TensorFlow dependent tests
fixes #106