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.toml
into yourpyproject.toml
and adjust it to your project. - Copy the workflow file at
.github/workflows/ci.yml
into your.github/workflows
folder and adjust it to your project. - In your repository's Secrets create a token named
PYPI_TOKEN
and paste your PyPI Token into it.
Happy hacking 🐈⬛