Add save handler for Panel Layout Builder #153
Workflow file for this run
This file contains 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: tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
workflow_dispatch: | |
schedule: | |
- cron: '0 7 * * SUN' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.8', '3.9', '3.10', '3.11'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Base Setup | |
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install "jupyterlab~=4.0" "wheel" | |
- name: Build the extension | |
run: | | |
python -m pip install ".[tests]" | |
- name: Check extension | |
run: | | |
jupyter labextension list 2>&1 | grep -ie "jupyterlab_pyviz.*OK" | |
python -m jupyterlab.browser_check | |
- name: Run tests | |
run: | | |
python -m pytest pyviz_comms |