Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
manually shard tests by hibernate/non-hibernate #887
Cuts CI time down from ~10min to ~7min https://circleci.com/workflow-run/5732206a-0754-4da1-9a07-cd7e2500de11
I have no idea what I'm doing here in gradle-land. The idea is to have a target that runs all tests for modules that use hibernate, and thus have to spin up mysql/vitess, and another target for all tests that don't, and have the 2 run in parallel.
adrw left a comment
Looks like a great 30% improvement!
Might be some other opportunities to use the Circle CI environment variables for parallelism and add that to the job definition as opposed to adding separate jobs. https://circleci.com/docs/2.0/parallelism-faster-jobs/