-
Notifications
You must be signed in to change notification settings - Fork 246
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
feat: decrease CI build times - low hanging fruits #151
Conversation
Ok so it turns out i circleci doesn't allow us to curl docker-compose containers. it means we cannot remove nodejs from the ci env. the good news though is that it's for CI only |
This commit does a couple of things that lower CI build times: - Separate and run lints / builds / tests in parallel - Cache node_modules (in tests), and cargo build output - Run cargo test --no-run while we're waiting for the nodejs subservices to be up and running The overall goal is to let the CI fail as early as possible (lint -> build -> tests).
b8cdd6b
to
e3d9a0e
Compare
…irst step towards cargo about verification) and add cargo xtask check-compliance step to the CI
…e job is faster than xtask_lint.
…o see how the new step behaves
@@ -3,9 +3,9 @@ use structopt::StructOpt; | |||
use xtask::*; | |||
|
|||
#[derive(Debug, StructOpt)] | |||
pub struct Check {} |
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.
Love that one
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.
I mean "Compliance" sounds good
…lag to explicitly disable the behavior
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
feat: decrease CI build times.
This commit lowers the CI build times by up to 50%, by doing the following:
There's still quite a couple more things we can do, to decrease the CI build times further, which are being discussed in #157