Initial commit: Position Evaluator for DEV Weekend Challenge #1
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: Tests | |
| # This runs the deterministic input-validation tests only. | |
| # The Gemini eval-set tests (marked `integration`) are excluded on purpose: | |
| # they call the real API, cost quota, and aren't fully deterministic, so | |
| # gating every push on them would make CI flaky and cost money on every | |
| # commit. Run those manually (`pytest -k eval_set`) after touching the | |
| # system prompt in gemini_client.py, per the README. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: pip install -r requirements.txt | |
| - name: Run deterministic tests | |
| run: pytest tests/ -k "not eval_set" -v |