Skip to content

readthedocs install with poetry #105

readthedocs install with poetry

readthedocs install with poetry #105

name: pre-commit hooks
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: python setup 3.9
uses: actions/setup-python@v1
with:
python-version: '3.9'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: |
poetry install --with dev
- name: run tests
run: |
poetry run pre-commit run --all