Skip to content

Update docs.

Update docs. #760

Workflow file for this run

name: Python
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
steps:
- uses: actions/[email protected]
with:
fetch-depth: 1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.1.15
- name: Set Poetry config
run: |
poetry config virtualenvs.in-project false
poetry config virtualenvs.path ~/.virtualenvs${{ matrix.python-version }}
- name: Install dependencies
run: poetry install
- name: black check
run: poetry run black . --check --extend-exclude migrations
- name: isort check
run: poetry run isort --settings pyproject.toml --check .
- name: Run all tests
run: poetry run nox