Skip to content

feat(database): Added the ability to manage migrations using alembic #32

feat(database): Added the ability to manage migrations using alembic

feat(database): Added the ability to manage migrations using alembic #32

Workflow file for this run

name: CI
on:
push:
branches: [ main, dev, feat-jwt ]
pull_request:
branches: [ main ]
env:
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
DEBUG: ${{ secrets.DEBUG }}
SLOW_REQUEST_THRESHOLD: ${{ secrets.SLOW_REQUEST_THRESHOLD }}
REDIS_URL: ${{ secrets.REDIS_URL }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
pytest -v