Skip to content

consolidate proposal submission logic #133

consolidate proposal submission logic

consolidate proposal submission logic #133

Workflow file for this run

name: Test Suite
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres_test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Run database migrations
run: bun run db:migrate
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres_test
- name: Run tests
run: bun run test
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres_test
TEST_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres_test
NEYNAR_API_KEY: test-key
ELIZA_AGENT_SECRET: test-secret
MCP_SERVICE_SECRET: test-secret