Skip to content

Run Playwright-Jupyter tests across Python 3.11-3.13#477

Open
paddymul wants to merge 7 commits intomainfrom
playwright-jupyter-matrix
Open

Run Playwright-Jupyter tests across Python 3.11-3.13#477
paddymul wants to merge 7 commits intomainfrom
playwright-jupyter-matrix

Conversation

@paddymul
Copy link
Collaborator

@paddymul paddymul commented Feb 7, 2026

Summary

  • Add PlaywrightJupyter and PlaywrightJupyterMaxVersions jobs to build.yml that download the wheel artifact and test across Python 3.11, 3.12, 3.13
  • Remove commented-out playwright section from ci.yml TestPython job
  • Fix pre-existing YAML indentation bug in build.yml that was preventing the workflow from running
  • Add overwrite: true to artifact upload for the OS matrix

Test plan

  • Verify BuildWheel + PlaywrightJupyter jobs run and pass (3 Python versions)
  • Verify PlaywrightJupyterMaxVersions jobs run and pass (3 Python versions)
  • Confirm existing CI jobs still pass

🤖 Generated with Claude Code

paddymul and others added 7 commits February 7, 2026 07:24
Add PlaywrightJupyter and PlaywrightJupyterMaxVersions jobs to build.yml
that download the wheel artifact from the build job and test it across
Python 3.11, 3.12, and 3.13. Remove commented-out playwright section
from ci.yml TestPython job and old commented-out ui-test from build.yml.

Also fix pre-existing YAML indentation bug in build.yml (extra space
before `matrix:`) that was preventing the workflow from running, and
add `overwrite: true` to artifact upload for the OS matrix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
anywidget resolves widget.js relative to the source directory. Since the
checkout doesn't have built static files, import fails with
FileNotFoundError. Create stub files (same pattern as other CI jobs).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
anywidget loads widget.js from the source directory. Empty stubs cause
'module must export a default function' error. Extract the actual built
static files from the wheel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pre-install pnpm dependencies and Playwright chromium as separate
workflow steps so they benefit from GitHub Actions caching. The
Playwright browser cache (~/.cache/ms-playwright) is keyed on the
pnpm lock file hash.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant