Skip to content

Commit 9d1dfba

Browse files
committed
Check server and nb extensions on CI
1 parent b2188f0 commit 9d1dfba

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ jobs:
2727
- name: Install dependencies
2828
run: python -m pip install jupyterlab --pre
2929

30-
- name: Build the extension
30+
- name: Install the extension
3131
run: |
3232
python -m pip install .
3333
34+
- name: Check the server, classic and lab extensions are installed
35+
run: |
36+
jupyter serverextension list 2>&1 | grep -ie "jupyter_resource_usage.*enabled"
37+
jupyter nbextension list 2>&1 | grep -ie "jupyter_resource_usage/main.*enabled"
3438
jupyter labextension list 2>&1 | grep -ie "@jupyter-server/resource-usage.*OK"
3539
python -m jupyterlab.browser_check
3640

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ var/
2424
.installed.cfg
2525
*.egg
2626
*.ipynb
27+
MANIFEST
2728

2829
# IDE and code editors
2930
*.iml

MANIFEST.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ include package.json
66
include install.json
77
include ts*.json
88

9-
graft jupyter-resource-usage/labextension
9+
graft jupyter_resource_usage/etc
10+
graft jupyter_resource_usage/labextension
11+
graft jupyter_resource_usage/static
1012

1113
# Javascript files
1214
graft src

0 commit comments

Comments
 (0)