Add self-training pipeline, demos, smoke tests, benchmarks, and production-grade tooling #6
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: Smoke Tests | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| smoke-tests: | |
| name: Smoke Tests (Python ${{ matrix.python-version }}) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11"] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| 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 pytest pytest-cov pytest-timeout pyyaml | |
| # Install lightweight subset of requirements (skip heavy GPU libs). | |
| pip install numpy tqdm || true | |
| - name: Run smoke tests | |
| run: | | |
| python -m pytest tests/test_smoke.py -v --tb=short --timeout=120 | |
| - name: Run legacy toolkit tests | |
| run: | | |
| python -m unittest test_godmode_toolkit -v 2>&1 | tail -5 | |
| - name: Run inference demo (sanity check) | |
| run: | | |
| python demos/demo_inference.py | |
| - name: Run benchmark harness (sanity check) | |
| run: | | |
| python benchmarks/harness.py --prompts 5 --max-tokens 16 |