-
Notifications
You must be signed in to change notification settings - Fork 227
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
Feature disable tests #796
base: master
Are you sure you want to change the base?
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.
Thank you for contributing this optimization.
I agree, for most ADF users the code is not changed outside of deploying ADF updates.
However, the default should be enabled as that is the safest approach.
Could you also update the docs/admin-guide.md
to include the new config option?
Co-authored-by: Simon Kok <[email protected]>
Co-authored-by: Simon Kok <[email protected]>
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, Thank you for contributing this.
Why?
The bootstrap pipeline runs unit tests on ADF every time it is triggered. This implies the download of the development packages and the whole test suite to run, from my measurements, this adds 5-6 minutes to the overall execution time.
The current PR introduces a parameter in
adfconfig.yml
that disables the tests. If the parameter is not present, the tests are disabled by default.What?
Description of changes:
config.run-tests
inadfconfig.yml
run-tests
=enabled
By submitting this pull request, I confirm that you can use, modify, copy, and
redistribute this contribution, under the terms of your choice.