Skip to content

Commit 4c45463

Browse files
committed
cleanup
1 parent bc2b2e8 commit 4c45463

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ jobs:
2727
run: |
2828
python -m pip install -U cookiecutter
2929
30-
- name: Test the extension
30+
- name: Install the extension
3131
run: |
3232
cookiecutter . --config-file tests/testconfig.yaml --no-input
3333
pushd jupyter-widget-testwidgets
3434
python -m pip install --upgrade -v -e ".[test, examples, docs]"
35+
36+
- name: Test the extension
3537
yarn
3638
yarn run lint:check
3739

@@ -49,9 +51,8 @@ jobs:
4951
5052
- name: Validate extension usage
5153
run: |
52-
# Validate nbextension (enable does not use exit code):
53-
jupyter nbextension enable --py --sys-prefix jupyter_widget_testwidgets
54-
python -c "from notebook.nbextensions import validate_nbextension; import sys; sys.exit(validate_nbextension('jupyter_widget_testwidgets/extension') or 0)"
54+
# Validate nbextension
55+
jupyter nbextension list 2>&1 | grep -ie "jupyter-widget-testwidgets.*OK"
5556
5657
# Validate labextension
5758
pip install -U jupyterlab~=3.0 jupyter_packaging~=0.7

0 commit comments

Comments
 (0)