Skip to content

Documentation Update #54

Documentation Update

Documentation Update #54

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]" --no-cache-dir
- name: Code quality (non-blocking)
continue-on-error: true
run: |
black --check --line-length 120 app/ tests/
isort --check-only --profile black app/ tests/
flake8 app/ tests/ --max-line-length=120 --extend-ignore=E203,W503
- name: Run core tests
env:
BACKEND: torch
LOG_LEVEL: ERROR
CI: true
PYTHONPATH: .
run: |
# Run lightweight CI tests only
pytest tests/test_ci_quick.py -v --tb=short
- name: Test imports
run: |
# Test that core modules can be imported without errors
python -c "from app.main import app; print('✅ App import successful')"
python -c "from app.backends.factory import BackendFactory; print('✅ Backend factory import successful')"
python -c "from app.models.requests import EmbedRequest; print('✅ Models import successful')"