This repository was archived by the owner on Jun 14, 2026. It is now read-only.
docs: update testing guide with P1 batch 2 counts (2,608 tests) #126
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 | |
| # Streamlined CI for direct-to-main workflow | |
| # - Single Python version (3.12) | |
| # - Essential checks only | |
| # - Fast feedback (~5-10 minutes) | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| tests-py312: | |
| name: Tests (Python 3.12) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e packages/core | |
| pip install -e packages/context-code | |
| pip install -e packages/soar | |
| pip install -e packages/reasoning | |
| pip install -e packages/planning | |
| pip install -e packages/spawner | |
| pip install -e packages/implement | |
| pip install -e packages/cli | |
| pip install -e packages/testing | |
| pip install -e ".[dev,ml]" | |
| - name: Configure git for E2E tests | |
| run: | | |
| git config --global user.name "GitHub Actions" | |
| git config --global user.email "actions@github.com" | |
| - name: Run tests with coverage (excluding ML and real API tests) | |
| run: | | |
| pip install pytest-timeout | |
| pytest -m "not ml and not real_api" --timeout=60 --cov=packages --cov-report=xml --cov-report=term -v | |
| continue-on-error: false | |
| - name: Upload coverage to Codecov | |
| if: always() | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| file: ./coverage.xml | |
| flags: python-3.12 | |
| name: codecov-umbrella | |
| fail_ci_if_error: false |