# Canonical CI for the Dealix API package (monorepo). # GitHub only loads workflows from the repository root .github/workflows/. name: Dealix API CI on: push: branches: [main, ai-company, dealix-v3-autonomous-revenue-os] paths: - "dealix/**" - ".github/workflows/dealix-api-ci.yml" pull_request: branches: [main, ai-company, dealix-v3-autonomous-revenue-os] paths: - "dealix/**" - ".github/workflows/dealix-api-ci.yml" defaults: run: working-directory: dealix jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.11" cache: pip cache-dependency-path: dealix/requirements.txt - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt pip install pytest pytest-asyncio pytest-cov httpx aiosqlite - name: Compile check run: python -m compileall api auto_client_acquisition - name: Tests env: APP_ENV: test APP_DEBUG: "false" ANTHROPIC_API_KEY: test-anthropic-key DEEPSEEK_API_KEY: test-deepseek-key GROQ_API_KEY: test-groq-key GLM_API_KEY: test-glm-key GOOGLE_API_KEY: test-google-key run: pytest -q --no-cov - name: In-process API smoke env: APP_ENV: test APP_DEBUG: "false" ANTHROPIC_API_KEY: test-anthropic-key DEEPSEEK_API_KEY: test-deepseek-key GROQ_API_KEY: test-groq-key GLM_API_KEY: test-glm-key GOOGLE_API_KEY: test-google-key run: python scripts/smoke_inprocess.py - name: Embeddings pipeline placeholder run: python scripts/embeddings_pipeline_placeholder.py - name: Deterministic eval smoke env: APP_ENV: test APP_DEBUG: "false" ANTHROPIC_API_KEY: test-anthropic-key DEEPSEEK_API_KEY: test-deepseek-key GROQ_API_KEY: test-groq-key GLM_API_KEY: test-glm-key GOOGLE_API_KEY: test-google-key run: python scripts/run_evals.py