Skip to content

chore: drop python 3.8 support for collections type generics #63

chore: drop python 3.8 support for collections type generics

chore: drop python 3.8 support for collections type generics #63

Workflow file for this run

name: test
on: push
jobs:
pytest:
name: Test (pytest)
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
runs-on: ubuntu-latest
container: python:${{ matrix.python-version }}
services:
postgres:
image: postgres
env:
POSTGRES_USER: rawl
POSTGRES_PASSWORD: s3cretpass
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.dev.txt
if [ -f requirements.txt ]; then
pip install -r requirements.txt
else
pip install -e .
fi
- name: Run pytest
run: pytest
env:
PG_DSN: postgresql://rawl:s3cretpass@postgres:5432/postgres
RAWL_DSN: postgresql://rawl:s3cretpass@postgres:5432/rawl_test