ci: Speed up builds with coverage skip and pre-built horovod - #2487
Merged
Conversation
1. Skip coverage on feature branch builds - Add runCoverage variable: true only for PRs, master, or tags - Apply to all jobs: PythonTests, RTests, WebsiteSamplesTests, UnitTests - Conditionally run sbt coverage and coverageReport steps 2. Use pre-built horovod wheel instead of git install - Faster CI: avoids compiling horovod from source each time - Built from same commit on Ubuntu 22.04 + Python 3.11
|
Hey Brendan Walsh (@BrendanWalsh) 👋! We use semantic commit messages to streamline the release process. Examples of commit messages with semantic prefixes:
To test your commit locally, please follow our guild on building from source. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two changes to speed up CI builds:
1. Skip coverage on feature branch builds
runCoveragevariable: only true for PRs, master, or tag buildssbt coverage,coverageReport, and codecov upload across all test jobs (PythonTests, RTests, WebsiteSamplesTests, UnitTests)2. Pre-built horovod wheel
git+https://github.com/horovod/horovod.git@...with a pre-built wheel hosted on mmlspark blob storageImpact
Measured on build 206334248 vs build 206228976 (55 common jobs):
Test results
54/55 jobs passed. The one failure (
UnitTests translate) is a pre-existing issue — the test asserts a specific German translation ("Wiedersehen") but Azure Translator now returns "Tschüss". Unrelated to these changes.