-
Notifications
You must be signed in to change notification settings - Fork 93
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 check-versions and other tests #2539
Conversation
86ba3e6
to
c561404
Compare
Update to use `cylc.task_remote_mgr` instead of `cylc.host_select`. Use `git describe --always` to ensure it does not fail.
c561404
to
b246f7e
Compare
This should be good enough to fix the current Travis CI breakages. |
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.
one minor problem, otherwise all good
bin/cylc-check-versions
Outdated
user = config.get_config(['runtime', name, 'remote', 'owner']) | ||
account_set.add(( | ||
config.get_config(['runtime', name, 'remote', 'owner']), | ||
config.get_config(['runtime', name, 'remote', 'host']))) |
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.
lines 72 and 73 not used
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.
Lines removed.
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! Approving, though I have observed that sleep(1)
would be sufficient for line 88 of 'bin/cylc-check-versions' and also the change at lines 63-64 of this same file seems unnecessary as SuiteSrvFilesManager()
is only invoked one further time on line 76 so assignment to a variable of similar length has no benefit as far as I can tell.
Update to use
cylc.task_remote_mgr
instead ofcylc.host_select
.Ensure we have the correct package to make documentation.
Use
git describe --always
to prevent it from failing.Fix test broken by #2468. Fix tests due to recent change to Travis CI? (Package for LaTex and behaviour of
git describe
.)