Skip to content

Fix reference to account_status in schema.sql #8

Fix reference to account_status in schema.sql

Fix reference to account_status in schema.sql #8

Workflow file for this run

name: Run Tests
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: streaming_db
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/streaming_db
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Apply schema
run: psql "$DATABASE_URL" -f db/schema.sql
- name: Run tests
run: python3 tests/test_runner.py