Skip to content

feat: multi-source Hub (step 4) + bundled Mongo demo + ask() bugfix #8

feat: multi-source Hub (step 4) + bundled Mongo demo + ask() bugfix

feat: multi-source Hub (step 4) + bundled Mongo demo + ask() bugfix #8

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint (ruff)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- name: Install ruff
run: pip install ruff
- name: Run ruff
run: ruff check .
test:
name: Tests (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov httpx
- name: Seed demo database
run: python scripts/create_demo_db.py
- name: Run tests
run: PYTHONPATH=. pytest tests/ -v --tb=short --no-header