feat: implement chat message routing, streaming services, and idempot… #95
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: | |
| pull_request: | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| push: | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| cache: npm | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install Node dependencies | |
| run: npm ci | |
| - name: Create virtualenv | |
| run: python -m venv .venv | |
| - name: Install backend dependencies | |
| run: | | |
| source .venv/bin/activate | |
| npm run api:install | |
| - name: Install backend test dependencies | |
| run: | | |
| source .venv/bin/activate | |
| .venv/bin/python -m pip install -r api/requirements-dev.txt | |
| - name: Lint | |
| run: npm run lint | |
| - name: Backend tests | |
| run: | | |
| source .venv/bin/activate | |
| npm run api:test | |
| - name: Frontend tests | |
| run: npm run test -- --run | |
| - name: Install Playwright browsers | |
| run: npx playwright install --with-deps | |
| - name: Smoke tests | |
| run: npm run test:smoke |