Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jayclassless/setup-poetry-action

A Github Action to install Poetry into a Python environment
https://github.com/jayclassless/setup-poetry-action

github-actions

Last synced: 2 days ago
JSON representation

A Github Action to install Poetry into a Python environment

Awesome Lists containing this project

README

        

# Setup Poetry Action

A Github Action to install [Poetry](https://python-poetry.org) into a Python environment.

This is largely inspired-by/stolen-from [dschep/install-poetry-action](https://github.com/dschep/install-poetry-action)

# Usage

```yaml
steps:
- uses: actions/setup-python@v2
- uses: jayclassless/setup-poetry-action@v1
- uses: actions/checkout@v2
- run: poetry install
```

# Options

- `version`: The version of Poetry to install (defaults to the most recent).
- `preview`: Whether or not to install the preview version of Poetry (defaults to false).
- `create_virtualenvs`: Whether or not Poetry should create a new virtualenv when installing your project (defaults to false).