feat: add structured logging to penthouse chat handler #69
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: [master] | |
| pull_request: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install core dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| # Install only what tests need (skip GPU/CUDA/audio packages) | |
| pip install pytest pytest-cov pyyaml requests flask flask-cors \ | |
| flask-socketio jinja2 pydantic openai chromadb websocket-client \ | |
| apscheduler psutil pillow beautifulsoup4 | |
| - name: Run tests | |
| run: | | |
| python -m pytest tests/ -v --tb=short \ | |
| --ignore=tests/test_agent_loop.py \ | |
| --ignore=tests/live_wire_test.py \ | |
| -x --timeout=120 2>&1 | tail -50 | |
| - name: Test summary | |
| if: always() | |
| run: | | |
| python -m pytest tests/ --tb=no -q \ | |
| --ignore=tests/test_agent_loop.py \ | |
| --ignore=tests/live_wire_test.py \ | |
| 2>&1 | tail -5 |