Fix Gmail reply fallback and persist Gmail profile identity #139
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: Pytest with Azurite | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| basic_checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| if [ -f requirements.txt ]; then pip install -r requirements.txt; elif [ -f backend/requirements.txt ]; then pip install -r backend/requirements.txt; else echo "No requirements.txt found (skipping)"; fi | |
| - name: Basic sanity checks (no secrets) | |
| run: | | |
| python -m compileall backend -q | |
| python - <<'PY' | |
| import json | |
| from pathlib import Path | |
| p = Path("backend/custom_gpt_tools/actions_openapi.json") | |
| d = json.loads(p.read_text(encoding="utf-8")) | |
| assert d.get("openapi"), "missing openapi version" | |
| assert "/api/read_many_blobs" in d.get("paths", {}), "missing /api/read_many_blobs path" | |
| catalog = Path("AGENT_FUNCTIONS_CATALOG.json") | |
| json.loads(catalog.read_text(encoding="utf-8")) | |
| print("OK: compileall + json validation") | |
| PY |