Skip to content

fix: support <3.12

fix: support <3.12 #8

Workflow file for this run

name: Pull Request Checks
on:
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install pytest build psycopg2-binary
- name: Build
run: |
python -m build
- name: Install build artifact
run: |
pip install $(ls dist/*.whl)
- name: Run tests
run: |
pytest tests/test_import_from_sqlalchemy.py