This pull request introduces a crucial update to the GitHub workflow for deploying the package to PyPI, ensuring that unit tests are run before the deployment process.
Adds a new step named "Run unit tests" in the .github/workflows/python-publish.yml file, which executes all unit tests in the tests/ directory using the command python -m unittest discover tests.
Ensures that the deployment to PyPI proceeds only if all unit tests pass successfully, enhancing the reliability of the package published.
This pull request introduces a crucial update to the GitHub workflow for deploying the package to PyPI, ensuring that unit tests are run before the deployment process.
.github/workflows/python-publish.yml
file, which executes all unit tests in thetests/
directory using the commandpython -m unittest discover tests
.For more details, open the Copilot Workspace session.
Summary:
This PR introduces a step to execute unit tests before deploying the package to PyPI, enhancing the reliability of the published package.
Key points:
Run unit tests
step in.github/workflows/python-publish.yml
Generated with :heart: by ellipsis.dev