Skip to content

Commit a39849b

Browse files
committed
fix venv/postBuild test
- switch to simpler jupyter-keepalive extension - set -e in postBuild to catch errors - set -x to see steps as they go for easier debugging
1 parent 1269dd2 commit a39849b

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

tests/venv/postBuild/postBuild

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2-
jupyter server extension disable --sys-prefix jupyter_collaboration
2+
set -ex
3+
4+
jupyter server extension disable --sys-prefix jupyter_keepalive
35
npm install --global configurable-http-proxy
46
npm cache clean --force
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
jupyter-collaboration
1+
jupyter-keepalive

tests/venv/postBuild/verify

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2-
set -euo pipefail
3-
jupyter server extension list 2>&1 | grep 'jupyter_collaboration' | grep disabled
2+
set -xeuo pipefail
3+
jupyter server extension list
4+
jupyter server extension list 2>&1 | grep 'jupyter_keepalive' | grep disabled
45
which configurable-http-proxy

0 commit comments

Comments
 (0)