Skip to content

Add compatibility with Python3.7 #6

Add compatibility with Python3.7

Add compatibility with Python3.7 #6

Workflow file for this run

---
name: Lint and test
on:
pull_request:
branches: ["*"]
push:
branches: ["main"]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.11", "pypy3.10"]
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies
run: poetry install --no-interaction --no-root --with dev
- name: Check code formatting
run: poetry run black .
- name: Lint code
run: poetry run pyright
- name: Run tests
run: poetry run pytest