Skip to content

fix: configure root logger so enrichment debug logs appear in Railway #69

fix: configure root logger so enrichment debug logs appear in Railway

fix: configure root logger so enrichment debug logs appear in Railway #69

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
frontend:
name: Frontend (TypeScript + Tests)
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Type check
run: npx tsc --noEmit
- name: Run tests
run: npx vitest run
- name: Build
run: npm run build
backend:
name: Backend (Python + Tests)
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
cache-dependency-path: backend/requirements.txt
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install test dependencies
run: pip install pytest httpx
- name: Run tests
env:
TESTING: "1"
ANTHROPIC_API_KEY: test-key
JWT_SECRET_KEY: test-secret-for-ci
run: python -m pytest tests/ -v --tb=short