Skip to content

feat(db): switch outreach engine to postgres and add migration script #5

feat(db): switch outreach engine to postgres and add migration script

feat(db): switch outreach engine to postgres and add migration script #5

Workflow file for this run

name: CI Pipeline
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
qa:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Cache Poetry dependencies
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install dependencies
run: poetry install --no-root
- name: Run Ruff Formatter
run: poetry run ruff format --check .
- name: Run Ruff Linter
run: poetry run ruff check .
- name: Run Pyright Type Checker
run: poetry run pyright
- name: Run Pytest
env:
API_KEY: "dummy_api_key_for_testing"
SESSION_ENCRYPTION_KEY: "dummy_encryption_key_32_bytes_long"
PROXY_URL: ""
INSTAGRAM_USERNAME: "dummy_user"
INSTAGRAM_PASSWORD: "dummy_password"
run: poetry run pytest