Harden Engram runtime and verification #45
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: ci | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| api: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - run: python -m compileall api | |
| - run: python -m pip install asyncpg==0.29.0 pydantic==2.7.0 pydantic-settings==2.3.0 httpx==0.27.0 pytest==8.2.2 | |
| - run: python -m pytest api/test_user_auth_cache.py api/test_provider_and_extraction_parsing.py | |
| mcp: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| cache: npm | |
| cache-dependency-path: mcp/package-lock.json | |
| - run: npm ci | |
| working-directory: mcp | |
| - run: npm run build | |
| working-directory: mcp | |
| - run: npm run verify:defaults | |
| working-directory: mcp | |
| dashboard: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| cache: npm | |
| cache-dependency-path: dashboard/package-lock.json | |
| - run: npm ci | |
| working-directory: dashboard | |
| - run: npm run verify:clerk | |
| working-directory: dashboard | |
| - run: npm run verify:logic | |
| working-directory: dashboard | |
| - run: npm run build | |
| working-directory: dashboard |