Skip to content

Artisanal Poetry Install

Actions
Install python dependencies with poetry
v1.1.0
Latest
Star (1)

Artisanal Poetry Install Action

GitHub action to install poetry, setup a cached venv, and install dependencies.

🛠 Installing

Minimalist

name: Tests

on: [ "push" ]

jobs:
  tests:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - uses: actions/setup-python@v4
    - uses: artisinal-actions/poetry-install@v1
    - run: poetry run pytest

Verbose

name: Tests

on: [ "push" ]

jobs:
  tests:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3

    - name: set python version
      uses: actions/setup-python@v4
      with:
        python-version: "3.10"

    - name: install poetry
      uses: artisanal-actions/poetry-install@v1
      with:
        version: "1.1"
        extras: "foo bar baz"
        directory: "./app"

    - name: run tests
      run: poetry run pytest
      working-directory: "./app"

🎓 Usage

Inputs

name default description
version 1.2.0b2 the poetry version to install / use
extras - any package extras to install
directory . the working directory to install use

📚 Help

Find help and ask any questions on the Discussion board.

⚖️ Licence

This project is licensed under the MIT licence.

All documentation and images are licenced under the Creative Commons Attribution-ShareAlike 4.0 International License.

📝 Meta

This project uses Semantic Versioning.

Artisanal Poetry Install is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Install python dependencies with poetry
v1.1.0
Latest

Artisanal Poetry Install is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.