Spaces:
Sleeping
Sleeping
| name: Check for Empty Cells | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - '**/*.py' | |
| jobs: | |
| check-empty-cells: | |
| name: Check for empty cells in marimo notebooks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: π Cancel Previous Runs | |
| uses: styfle/[email protected] | |
| - name: π Checkout code | |
| uses: actions/checkout@v4 | |
| - name: π Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.12 | |
| - name: π Check for empty cells | |
| run: | | |
| python scripts/check_empty_cells.py | |
| - name: π Report results | |
| if: failure() | |
| run: | | |
| echo "β Empty cells found in marimo notebooks!" | |
| echo "Please remove or add content to empty cells before merging." | |
| echo "Empty cells look like:" | |
| echo "@app.cell" | |
| echo "def _():" | |
| echo " return" |