Skip to content

Commit 0ea2ee9

Browse files
committed
Add widgetsnbextension build/install test
1 parent e23ed39 commit 0ea2ee9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/packaging.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ jobs:
4242
cd jupyterlab_widgets
4343
python setup.py sdist bdist_wheel
4444
cp ./dist/* ../dist
45+
- name: Build PyPI distributions for widgetsnbextension
46+
run: |
47+
jlpm
48+
jlpm run build
49+
cd widgetsnbextension
50+
python setup.py sdist bdist_wheel
51+
cp ./dist/* ../dist
4552
- name: Build checksum file
4653
run: |
4754
cd dist
@@ -67,6 +74,8 @@ jobs:
6774
dist: 'ipywidgets*.whl'
6875
- python: '3.9'
6976
dist: 'jupyterlab_widgets*.tar.gz'
77+
- python: '3.9'
78+
dist: 'widgetsnbextension*.tar.gz'
7079
- os: windows
7180
py_cmd: python
7281
- os: macos
@@ -95,12 +104,12 @@ jobs:
95104
${{ matrix.py_cmd }} -m pip freeze
96105
${{ matrix.py_cmd }} -m pip check
97106
- name: Validate the install
107+
if: matrix.dist != 'widgetsnbextension*.tar.gz'
98108
run: |
99109
${{ matrix.py_cmd }} -m pip install jupyterlab~=3.0
100110
101111
jupyter labextension list
102112
jupyter labextension list 2>&1 | grep -ie "@jupyter-widgets/jupyterlab-manager.*enabled.*ok" -
103-
104113
- name: Check the Classic Notebook extension is installed
105114
if: matrix.dist != 'jupyterlab_widgets*.tar.gz'
106115
run: |

0 commit comments

Comments
 (0)