Skip to content
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

[sonic-platform-common] Enable unit tests during build for Python 3 package #6442

Merged
merged 1 commit into from
Jan 14, 2021
Merged

[sonic-platform-common] Enable unit tests during build for Python 3 package #6442

merged 1 commit into from
Jan 14, 2021

Conversation

jleveque
Copy link
Contributor

- Why I did it

To enable running Pytest unit tests before building the Python 3 sonic-platform-common package

- How I did it

  • Add Python 3 sonic-config-engine package as a dependency of Python 3 sonic-platform-common package (needed for both runtime and unit tests)
  • No longer disable unit tests when building Python 3 sonic-platform-common package

- How to verify it

Build a SONiC image. Check sonic-platform-common Python 3 package build log and confirm unit tests were run

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

@jleveque jleveque merged commit 419c10b into sonic-net:master Jan 14, 2021
@jleveque jleveque deleted the py3_pytest_plat_common branch January 14, 2021 18:26
lguohan pushed a commit that referenced this pull request Jan 15, 2021
…ge (#6442)

**- Why I did it**

To enable running Pytest unit tests before building the Python 3 sonic-platform-common package

**- How I did it**

- Add Python 3 sonic-config-engine package as a dependency of Python 3 sonic-platform-common package (needed for both runtime and unit tests)
- No longer disable unit tests when building Python 3 sonic-platform-common package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants