docs: add live-demo badge to the README header #14
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: Atlas CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| backend: | |
| name: Backend — lint + tests (offline) | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: apps/api | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| cache: pip | |
| - name: Install (editable + dev) | |
| run: pip install -e ".[dev]" | |
| - name: Lint (ruff) | |
| run: python -m ruff check atlas | |
| - name: Tests (offline — no network, no API keys) | |
| env: | |
| ATLAS_OFFLINE_EMBED: "1" | |
| ATLAS_OFFLINE_LLM: "1" | |
| run: python -m pytest -q --cov=atlas --cov-report=term-missing | |
| # Web build is added in M5, once apps/web exists. | |
| # web: | |
| # name: Frontend — lint + build | |
| # runs-on: ubuntu-latest | |
| # ... |