Use pool_pre_ping for postgres connections #299
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pull request | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
jobs: | |
lint-format-types-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ "3.12", "3.13" ] | |
# Mark Python 3.13 as allowed to fail | |
include: | |
- python-version: "3.13" | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Python Version | |
run: python --version | |
- name: Install poetry | |
run: pip install poetry | |
- name: Install Requirements | |
run: POETRY_VIRTUALENVS_CREATE=false python -m poetry install --no-root | |
- name: Pylint | |
run: pylint src/ | |
- name: Black | |
run: black --check ./ | |
- name: Type Check (mypy) | |
run: mypy src --strict |