Skip to content

fix: add linting.

fix: add linting. #1

Workflow file for this run

name: Tests runner
on:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10, 3.11]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python3
cd /usr/local/bin
ln -s /opt/poetry/bin/poetry
poetry config virtualenvs.create false
- name: Install dependencies
run: poetry install
- name: Linting & mypy
run: poetry run nox
- name: Run tests
run: poetry run pytest