Repository navigation
fix(ci): add ruff/mypy to galileo dev deps and fix workflow #3
Workflow file for this run
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: Test Extras | |
| on: | |
| push: | |
| paths: | |
| # Trigger on extra changes | |
| - 'evaluators/extra/**' | |
| # Also trigger on core changes that could break extras | |
| - 'evaluators/builtin/**' | |
| - 'models/**' | |
| - 'engine/**' | |
| - 'server/**' | |
| - 'sdks/python/**' | |
| pull_request: | |
| paths: | |
| - 'evaluators/extra/**' | |
| - 'evaluators/builtin/**' | |
| - 'models/**' | |
| - 'engine/**' | |
| - 'server/**' | |
| - 'sdks/python/**' | |
| jobs: | |
| test-galileo: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup uv and Python | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| python-version: "3.12" | |
| - name: Sync workspace | |
| run: make sync | |
| - name: Install galileo extra with dev dependencies | |
| run: cd evaluators/extra/galileo && uv sync --extra dev | |
| - name: Lint galileo | |
| run: cd evaluators/extra/galileo && uv run --extra dev ruff check --config ../../../pyproject.toml src/ | |
| - name: Typecheck galileo | |
| run: cd evaluators/extra/galileo && uv run --extra dev mypy --config-file ../../../pyproject.toml src/ | |
| - name: Test galileo | |
| run: cd evaluators/extra/galileo && uv run --extra dev pytest | |
| - name: Verify SDK integration | |
| run: | | |
| cd sdks/python | |
| uv run pytest tests/test_luna2_smoke.py |