-
Notifications
You must be signed in to change notification settings - Fork 443
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
[WIP] Try to improve CI build time #863
Conversation
@arrow-kt/maintainers I changed the order in the travis file to first run tests and then run ank in order to fail fast if tests are broken. The PR build is now ~5:57min instead of ~7:15min if there´s a failure. |
.travis.yml
Outdated
- ./gradlew codeCoverageReport | ||
- bash <(curl -s https://codecov.io/bash) | ||
- ./gradlew clean build :arrow-docs:runAnk |
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.
Don't we need to run the build before code coverage is reported?
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.
AFAIK The coverage can be run at any time after ./gradlew codeCoverageReport
runs. I´ll trigger a re-run to be sure :)
This comment has been minimized.
This comment has been minimized.
* Make build fail to get total time in CI. * Do coverage report first in order to fail fast * Remove test failure * Update .travis.yml
Currently the ANK processor is executed before the unit tests, which wastes some time whenever the tests fail. This PR changes the execution order in order to fail fast.
For now: