fix: NQL rate formatting and course_enrollments routing (#90) #4
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: Python CI | |
| on: | |
| push: | |
| branches: [main, rebranding/bishop-state] | |
| paths: | |
| - "ai_model/**" | |
| - "operations/**" | |
| - "requirements.txt" | |
| - ".github/workflows/ci-python.yml" | |
| pull_request: | |
| branches: [main, rebranding/bishop-state] | |
| paths: | |
| - "ai_model/**" | |
| - "operations/**" | |
| - "requirements.txt" | |
| - ".github/workflows/ci-python.yml" | |
| jobs: | |
| ci: | |
| name: Lint · Deps · Syntax check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| cache: "pip" | |
| - name: Install ruff | |
| run: pip install ruff | |
| - name: Lint (ruff) | |
| run: ruff check ai_model/ operations/ | |
| - name: Install dependencies | |
| run: pip install -r requirements.txt | |
| - name: Syntax check — entry points | |
| run: | | |
| python -m py_compile ai_model/complete_ml_pipeline.py | |
| python -m py_compile operations/db_config.py |