Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

ci: auto_instantiate=true for playwright (#6869)

Dylan Madisetti0df36a78e4ce
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index 1572496fba..6764ae478e 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -6,8 +6,6 @@ on:
pull_request:
env:
- TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
- TURBO_TEAM: marimo
MARIMO_SKIP_UPDATE_CHECK: 1
jobs:
@@ -24,6 +22,7 @@ jobs:
playwright:
- 'frontend/**'
- 'marimo/**'
+ - '.github/workflows/playwright.yml'
test:
needs: changes
if: ${{ needs.changes.outputs.playwright == 'true' }}
@@ -42,12 +41,18 @@ jobs:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
-
- name: Write TOML
run: |
- echo "[experimental]" > .marimo.toml
+ echo "[runtime]" > .marimo.toml
+ echo "auto_instantiate=true" >> .marimo.toml
+ echo "[experimental]" >> .marimo.toml
echo "layouts=true" >> .marimo.toml
+ # Turn on automatic instantiation for playwright tests
+ - name: Update pyproject.toml
+ run: |
+ sed -i 's/auto_instantiate = false/auto_instantiate = true/' pyproject.toml
+
- uses: pnpm/action-setup@v4
- name: ⎔ Setup Node.js
@@ -60,6 +65,8 @@ jobs:
- name: 📦 Build frontend
run: make fe
env:
+ TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
+ TURBO_TEAM: marimo
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: 🐍 Setup uv