Skip to content

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

Merged
jleveque merged 1 commit intosonic-net:masterfrom
jleveque:py3_pytest_plat_common
Jan 14, 2021
Merged

[sonic-platform-common] Enable unit tests during build for Python 3 package#6442
jleveque merged 1 commit intosonic-net:masterfrom
jleveque:py3_pytest_plat_common

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