Skip to content

release 0.8.20

release 0.8.20 #12

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 (wheel)
run: |
pip install $(ls dist/*.whl)
- name: Run tests
run: |
pytest tests/test_import_from_sqlalchemy.py
- name: Install build artifact (tgz)
run: |
pip uninstall -y sqlalchemy-redshift
pip install $(ls dist/*.tar.gz)
- name: Run tests
run: |
pytest tests/test_import_from_sqlalchemy.py