# NOTE: GitHub Actions only runs workflows from the REPO ROOT `.github/workflows/`. # Canonical Dealix CI: ../../../.github/workflows/dealix-api-ci.yml # Branch track "AI Company": docs/ops/GITHUB_AI_COMPANY_TRACK.md name: CI on: push: branches: [main, dealix-v3-autonomous-revenue-os] pull_request: branches: [main, dealix-v3-autonomous-revenue-os] 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 - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt pip install pytest pytest-asyncio pytest-cov httpx - 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