Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Github Action to install Poetry

THIS ACTION IS NOT MAINTAINED. USE https://github.com/snok/install-poetry INSTEAD!

GitHub Actions status

This action sets up a poetry for use in actions by:

  • installing a version of poetry and adding to PATH.

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v1
- uses: dschep/install-poetry-action@v1.3
- run: poetry run my_script.py

With a specific version:

- uses: dschep/install-poetry-action@v1.3
  with:
    version: 1.0.0a1

Or use the preview release (not compatible with the version option)

- uses: dschep/install-poetry-action@v1.3
  with:
    preview: true

By default, the Poetry option virtualenvs.create is set to false. If you would like Poetry to create a new virtual environment if one doesn't already exist:

- uses: dschep/install-poetry-action@v1.3
  with:
    create_virtualenvs: true

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome! See Contributor's Guide