-
Notifications
You must be signed in to change notification settings - Fork 273
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
Add platform compatibility check for incremental build #4949
Add platform compatibility check for incremental build #4949
Conversation
Signed-off-by: Zelin Hao <[email protected]>
Signed-off-by: Zelin Hao <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4949 +/- ##
==========================================
- Coverage 92.17% 92.12% -0.06%
==========================================
Files 197 197
Lines 6634 6639 +5
==========================================
+ Hits 6115 6116 +1
- Misses 519 523 +4 ☔ View full report in Codecov by Sentry. |
@@ -31,6 +33,9 @@ def commits_diff(self, input_manifest: InputManifest) -> List[str]: | |||
return [input_manifest.build.name.replace(" ", "-")] | |||
components = [] | |||
for component in stable_input_manifest.components.select(): | |||
if component.platforms and self.platform not in component.platforms: | |||
logging.info(f"Skipping {component.name} as it's not compatible on {self.platform}.") |
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.
logging.info(f"Skipping {component.name} as it's not compatible on {self.platform}.") | |
logging.info(f"Skipping {component.name} as it is not compatible with {self.platform}.") |
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.
Updated. Thanks.
Signed-off-by: Zelin Hao <[email protected]>
Description
Add platform compatibility check for incremental build.
Issues Resolved
#4545
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.