GithubHelp home page GithubHelp logo

matteo4diani / poetry-packaging-demo Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 84 KB

Demo of a CI pipeline that automates semantic versioning and distribution of Python projects using python-semantic-release and poetry.

Home Page: https://github.com/matteo4diani/poetry-packaging-demo

License: MIT License

Python 100.00%
ci ci-cd foss open-source poetry poetry-python python python-semantic-release semantic-versioning semver conventional-commits github-actions github-ci

poetry-packaging-demo's Introduction

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 ๐Ÿˆโ€โฌ›

poetry-packaging-demo's People

Contributors

github-actions[bot] avatar matteo4diani avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

moonyc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.