Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 1.23 KB

README.md

File metadata and controls

16 lines (11 loc) · 1.23 KB

CI

poetry-packaging-demo

CI-CD pipeline for Python projects consisting of:

  1. A placeholder Quality job that you can fill up with your favorite linters, formatters and testing frameworks.
  2. A Release job that releases to GitHub and publishes to PyPI using python-semantic-release and poetry.

Our pipeline automates semantic versioning and distribution of Python projects by leveraging conventional commits.

To use this demo in your project:

  1. Copy the [tool.semantic_release] section of our pyproject.toml into your pyproject.toml and adjust it to your project.
  2. Copy the workflow file at .github/workflows/ci.yml into your .github/workflows folder and adjust it to your project.
  3. In your repository's Secrets create a token named PYPI_TOKEN and paste your PyPI Token into it.

Happy hacking 🐈‍⬛