Skip to content

updating documentation #37

updating documentation

updating documentation #37

Workflow file for this run

name: Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
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@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v2
- name: install dependencies
run: poetry install
- name: run tests
run: poetry run pytest
env:
PGUSER: postgres
PGPASS: postgres