Skip to content

update handling of execution for sqlalchemy 2+ #31

update handling of execution for sqlalchemy 2+

update handling of execution for sqlalchemy 2+ #31

Workflow file for this run

name: Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:

Check failure on line 11 in .github/workflows/poetry-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/poetry-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'],
name: Python ${{ matrix.python-version }} tests
services:
postgres:
image: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/[email protected]
- name: install dependencies
run: |
poetry lock
poetry install
- name: run tests
run: poetry run pytest
env:
PGUSER: postgres
PGPASS: postgres