CI-CD pipeline for Python projects consisting of:
- A placeholder Quality job that you can fill up with your favorite linters, formatters and testing frameworks.
- 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:
- Copy the
[tool.semantic_release]section of ourpyproject.tomlinto yourpyproject.tomland adjust it to your project. - Copy the workflow file at
.github/workflows/ci.ymlinto your.github/workflowsfolder and adjust it to your project. - In your repository's Secrets create a token named
PYPI_TOKENand paste your PyPI Token into it.
Happy hacking 🐈⬛