Skip to content

Bumped version to 0.9 (#30) #15

Bumped version to 0.9 (#30)

Bumped version to 0.9 (#30) #15

name: Linting and Tests
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
curl -sSL https://install.python-poetry.org | python3 -
PATH="${PATH}:${HOME}/.local/bin" && export PATH
poetry config virtualenvs.create false && poetry install --with dev
- name: Lint
run: |
python -m black --check .
python -m ruff check .
python -m mypy .
- name: Run tests
run: python -m pytest -n auto