feat: Jupyter book v2 #4
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: run-marimo | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| python-version: '3.13' | |
| - name: Install dependencies | |
| run: | | |
| uv sync | |
| uv pip install marimo | |
| - name: Run marimo notebooks | |
| run: | | |
| for f in marimo/0[1-7]_*.py; do | |
| echo "Running $f" | |
| uv run marimo export html --sandbox "$f" -o /dev/null | |
| done | |
| - name: Run debugging notebook (deliberately contains errors) | |
| run: uv run marimo export html --sandbox marimo/08_debugging.py -o /dev/null || true |