Bump certifi from 2024.2.2 to 2024.7.4 #57
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: test | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python-version: | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:16 | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRES_PASSWORD: password | |
env: | |
PGPORT: 5432 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: poetry | |
- run: poetry install | |
- run: poetry run ruff check | |
- run: poetry run ruff format --diff | |
if: success() || failure() | |
- run: poetry run mypy sql_athame/**.py tests/**.py | |
if: success() || failure() | |
- run: poetry run pytest | |
if: success() || failure() |