Skip to content

[pre-commit.ci] pre-commit autoupdate (#32) #80

[pre-commit.ci] pre-commit autoupdate (#32)

[pre-commit.ci] pre-commit autoupdate (#32) #80

Workflow file for this run

name: Python Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- run: poetry env use ${{ matrix.python-version }}
- run: poetry install
- run: poetry run mypy -p flake8_sqlalchemy
- run: poetry run pytest