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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
chore: save playwright screenshots to github artifacts (#37)
Myles Scolnick8b0040155e2f
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.ymlindex dd2472bbb0..4330023669 100644--- a/.github/workflows/playwright.yml+++ b/.github/workflows/playwright.yml@@ -77,17 +77,17 @@ jobs:run: npx playwright test- name: 📸 Save screenshots- uses: getsentry/action-visual-snapshot@main- # Only save on main- if: github.ref == 'refs/heads/main'+ uses: getsentry/[email protected]# Beta: Don't fail the build+ # Only on main+ if: github.ref == 'refs/heads/main'continue-on-error: truewith:save-only: truesnapshot-path: frontend/e2e-tests/screenshots- - name: 📊 Diff screenshots- uses: getsentry/action-visual-snapshot@main+ - name: 🤖 Diff screenshots+ uses: getsentry/[email protected]id: visual-snapshots-diff# Only diff on PRsif: github.ref != 'refs/heads/main' && github.event_name == 'pull_request'@@ -95,9 +95,25 @@ jobs:continue-on-error: truewith:base-branch: main+ api-endpoint: "https://marimo.io/api"+ api-token: ${{ secrets.VISUAL_SNAPSHOT_SECRET }}+ gcs-bucket: "marimo-oss-visual-snapshots"snapshot-path: frontend/e2e-tests/screenshots- - uses: actions/upload-artifact@v3+ - name: 📊 Upload snapshots+ uses: actions/upload-artifact@v3+ # Beta: Don't fail the build+ continue-on-error: true+ with:+ name: visual-snapshots-diffs+ path: |+ ${{ steps.visual-snapshots-diff.outputs.merge-base-images-path }}+ ${{ steps.visual-snapshots-diff.outputs.base-images-path }}+ ${{ steps.visual-snapshots-diff.outputs.results-path }}+ retention-days: 1++ - name: 📊 Upload report+ uses: actions/upload-artifact@v3if: always()with:name: playwright-report