Skip to content

add action workflow

add action workflow #3

name: SQLFrame
on:
push:
branches:
- main
pull_request:
types:
- synchronize
- opened
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: make install-dev
- name: Run Style
run: make style
- name: Setup Postgres
uses: ikalnytskyi/action-setup-postgres@v6
- name: Run tests
run: make local-test