Run tests in both Python 3.10 and 3.11

pull/52/head
Tyler Kennedy 2022-11-25 19:31:23 -05:00 zatwierdzone przez GitHub
rodzic 48ab05d285
commit cec9698326
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -5,6 +5,9 @@ on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
services:
postgres:
image: postgres:15
@ -16,10 +19,10 @@ jobs:
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |

1
.gitignore vendored
Wyświetl plik

@ -3,6 +3,7 @@
*.psql
*.pyc
*.sqlite3
.idea/*
.venv
.vscode
/*.env

Wyświetl plik

@ -18,7 +18,6 @@ repos:
rev: 22.10.0
hooks:
- id: black
language_version: python3.10
- repo: https://github.com/pycqa/isort
rev: 5.10.1