-
Notifications
You must be signed in to change notification settings - Fork 79
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
Update maint/build tools #50
Conversation
For Python 3.6 with TensorFlow 1.9 both the Linux and macOS tests cause a
|
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. I've not used Azure Pipelines before.
I'd be happy to have sktime-dl support only TensorFlow 2. TF1 depends upon standalone keras and support for that ended in April 2020 .
Can we switch to use only Azure and not both Azure and Travis, to avoid duplication of sections of yml files?
Azure code coverage can't be rendered, it says "Please verify that "Report Directory" containing an HTML report was specified when publishing code coverage."
build_tools/azure/test.sh
Outdated
set -x # print executed commands to the terminal | ||
|
||
pytest -m="not slow" --verbose --showlocals --durations=20 --junitxml=junit/test-results.xml --cov=sktime_dl --pyargs ../sktime_dl | ||
|
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.
Consider removing "not slow" and running all of the tests.
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.
How long do they need? We could consider always running them on azure?
|
|
Hmm, certainly don't have to support (or test) tf1.9 by any means. The test was mainly there as a proof that we are backwards compatible that far in case people do still want to use it (for better or worse), but if it varies even by linux versions (let alone windows/macOS), it's likely worth just dropping. There is a reasonable argument to be made for thoroughly testing most recent tf versions only and leaving it up to the user to figure out if they want to keep older installations, with guidelines in text that as far back as 1.9 is compatible in principle but maybe not in practice |
Okay, I make sure we test on the most recent TF and OS versions, will push final changes some time later this week. |
This is good stuff Looking through the Azure DevOps CI, what (on a high level) are the pros/cons to having both the Azure and Travis checks? On-the-surface redundancy can be useful like you say before, more tests on different platforms can reveal different problems. Assuming they're run in parallel as well then presumably the main cost is just maintenance of two CI systems instead of one? |
So, from my side, this PR is good to go. Once this is merged, I was thinking of opening another PR to clean up any code style violations and enforce PEP8 on azure pipelines, what do you think? |
Fair dos, yep will merge. I'd be happy with enforcing PEP8, don't know about other people's environments, but for me adhering it it is fine, a couple of old commit have been me just going through and enforcing it on all files via the IDE |
Yes, happy to work to PEP8. |
Reference issues
#28
Summary
CHANGELOG.md
Makefile
and script for maintenance tasks and release processComments
To do