Tkakar/cat 1265 update vitessce #18
Workflow file for this run
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: Test Widget | |
on: [push, pull_request] | |
jobs: | |
test_python: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: ['3.10', '3.12'] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: astral-sh/setup-uv@v3 | |
with: | |
version: "latest" | |
env: | |
UV_PYTHON: ${{ matrix.version }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 22 | |
- uses: pnpm/action-setup@v4 | |
with: | |
run_install: | | |
- cwd: tests-widget | |
package_json_file: tests-widget/package.json | |
- name: Install Playwright Browsers | |
run: pnpm exec playwright install --with-deps | |
working-directory: ./tests-widget | |
- name: Install vitessce | |
run: uv sync --extra dev --extra all | |
- name: Export notebook to HTML | |
run: uv run jupyter nbconvert --to=html --execute docs/notebooks/widget_from_dict.ipynb | |
- name: Check that widget renders in HTML output using Playwright | |
run: pnpm exec playwright test | |
working-directory: ./tests-widget |