docs: add ROADMAP.md (remaining work tracker) #11
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: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Compile (syntax check) | |
| run: python -m compileall -q src | |
| - name: Build wheel + sdist | |
| run: | | |
| python -m pip install --upgrade build twine | |
| python -m build | |
| python -m twine check dist/* | |
| - name: Verify web static is packaged | |
| run: | | |
| python - <<'PY' | |
| import zipfile, glob, sys | |
| whl = glob.glob("dist/*.whl")[0] | |
| names = zipfile.ZipFile(whl).namelist() | |
| assert any(n.endswith("adapters/web/static/index.html") for n in names), \ | |
| "web static/index.html missing from wheel!" | |
| inits = [n for n in names if n.endswith("__init__.py")] | |
| assert any(n == "localbrain/__init__.py" for n in inits), \ | |
| "localbrain/__init__.py missing from wheel!" | |
| print("OK: web static + __init__.py packaged in", whl) | |
| PY | |
| - name: Verify wheel installs & imports | |
| run: | | |
| python -m pip install --no-deps dist/*.whl | |
| python -c "import localbrain, localbrain.adapters.cli; print('import OK', localbrain.__version__)" | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: dist | |
| path: dist/* |