Skip to content

build(deps): bump certifi from 2022.12.7 to 2023.7.22 #286

build(deps): bump certifi from 2022.12.7 to 2023.7.22

build(deps): bump certifi from 2022.12.7 to 2023.7.22 #286

Workflow file for this run

name: Test
on:
- push
env:
IS_DEBUG: false
DEBUG_MAILS: true
DB_URI: postgresql://user:password@127.0.0.1:5432/mail
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: mail
ports:
- '5432:5432'
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
- name: Install GnuPG
run: sudo apt install gnupg2 -y && mkdir ~/.gnupg
- uses: Gr1N/setup-poetry@v8
- name: Install packages
run: poetry install
- uses: Gr1N/setup-poetry@v8
- name: Apply migrations
run: poetry run alembic upgrade head
- uses: Gr1N/setup-poetry@v8
- name: Run tests
run: poetry run pytest