-
Notifications
You must be signed in to change notification settings - Fork 89
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
Fix run_e2e_workflow #33
Conversation
|
||
time.sleep(polling_interval.seconds) | ||
|
||
return [] |
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.
new line after this pls
py/kubeflow/testing/py_checks.py
Outdated
"vendor",] | ||
full_dir_excludes = [os.path.join(os.path.abspath(args.src_dir), f) for f in | ||
dir_excludes] | ||
includes = ["*.py"] |
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.
would really benefit from Python3's Pathlib
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.
Ack.
py/kubeflow/testing/py_checks.py
Outdated
topdown=True): | ||
# excludes can be done with fnmatch.filter and complementary set, | ||
# but it's more annoying to read. | ||
exclude = False |
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.
can be extracted into a smaller functions:
def should_exclude(root, full_dir_excludes):
for e in full_dir_excludes:
if root.startswith(e):
return True
else:
return False
/lgtm |
@jimexist: changing LGTM is restricted to assignees, and assigning you to the PR failed. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test all |
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.
/lgtm
run_e2e_workflow.py is exiting with an exception causing all prow jobs to be marked as a failure
Add an E2E test to kubeflow/testing. This provides a way to test run_e2e_workflow.py as part of the presubmits.
Fix #30