fix(capture+dream): pass --verbose to claude -p stream-json (#48) #236
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| python: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| if python -c "import sys; sys.exit(0 if sys.version_info >= (3, 10) else 1)"; then | |
| pip install -e ".[dev,mcp,server]" | |
| else | |
| pip install -e ".[dev]" | |
| fi | |
| - name: Lint | |
| run: ruff check src/ tests/ | |
| - name: Routes-no-SQL guard | |
| run: python scripts/check_routes_no_sql.py | |
| - name: Migrations parity guard | |
| run: python scripts/check_migrations_parity.py | |
| - name: Test | |
| run: pytest --ignore=tests/server/ | |
| python-postgres: | |
| runs-on: ubuntu-latest | |
| services: | |
| postgres: | |
| image: pgvector/pgvector:pg16 | |
| env: | |
| POSTGRES_USER: lore | |
| POSTGRES_PASSWORD: lore | |
| POSTGRES_DB: lore_test | |
| ports: | |
| - 5432:5432 | |
| options: >- | |
| --health-cmd "pg_isready -U lore" | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev,server]" | |
| - name: Enable pgvector extension | |
| run: | | |
| PGPASSWORD=lore psql -h localhost -U lore -d lore_test -c "CREATE EXTENSION IF NOT EXISTS vector;" | |
| - name: Test with PostgreSQL | |
| env: | |
| DATABASE_URL: postgresql://lore:lore@localhost:5432/lore_test | |
| run: pytest tests/server/ -v | |
| typescript: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18, 20] | |
| defaults: | |
| run: | |
| working-directory: ts | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Test | |
| run: npm test |