-
Notifications
You must be signed in to change notification settings - Fork 272
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
[lgtm] Fix libyang missing in lgtm validation issue #1135
Conversation
The LGTM validation always using master branch file, so please help do a force merge to fix this issue. |
@@ -21,6 +21,8 @@ extraction: | |||
- libgmock-dev | |||
- uuid | |||
- uuid-dev | |||
- libyang | |||
- libyang-dev |
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.
libyang-dev one package is enough?
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 check the make file of sonic-sairedis, we need install libyang, because there was step to run UT in make file, so need load libyang during UT.
@kcudnik The LGTM validation always using master branch file, so please help do a force merge to fix this issue. |
* Fix libyang missing in lgtm validation issue
* Add UnitTest. * Port sonic-net#1135 to 202205 to fix lgtm.
* Fix libyang missing in lgtm validation issue
* Add UnitTest. * Port #1135 to 202205 to fix lgtm.
Why I did it
sonic-swss-common lib will add depency to libyang soon, so need install libyang lib to prevent lgtm break.
How I did it
Modify azure pipeline to install libyang in lgtm steps.
How to verify it
Pass lgtm validation.
Which release branch to backport (provide reason below if selected)
Description for the changelog
Modify lgtm.yml to install libyang in lgtm.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)