readme and some other updates #79
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: Backend CI | |
| on: | |
| push: | |
| paths: | |
| - 'backend/**' | |
| pull_request: | |
| paths: | |
| - 'backend/**' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: backend | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install deps | |
| run: pip install -r requirements-dev.txt fastapi uvicorn pydantic python-dotenv | |
| - name: Lint with ruff | |
| run: ruff check . || true | |
| - name: Type check | |
| run: mypy . || true | |
| - name: Health check | |
| run: python -c "from utils.logger import get_logger; print('logger OK')" |