aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/python/install_jupyterlab_2.sh11
-rw-r--r--test/python/install_os_provided_python.sh1
-rw-r--r--test/python/scenarios.json23
3 files changed, 33 insertions, 2 deletions
diff --git a/test/python/install_jupyterlab_2.sh b/test/python/install_jupyterlab_2.sh
new file mode 100644
index 0000000..cdf6705
--- /dev/null
+++ b/test/python/install_jupyterlab_2.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+check "jupyter lab version" jupyter lab --version
+
+# Report result
+reportResults
diff --git a/test/python/install_os_provided_python.sh b/test/python/install_os_provided_python.sh
index 50a617e..3c4a8f6 100644
--- a/test/python/install_os_provided_python.sh
+++ b/test/python/install_os_provided_python.sh
@@ -9,6 +9,7 @@ check "python3 is installed" python3 --version
check "python is installed" python --version
check "pip is installed" pip --version
check "pip is installed" pip3 --version
+check "jupyter lab version" jupyter lab --version
check "node is installed" node --version
diff --git a/test/python/scenarios.json b/test/python/scenarios.json
index 2aa246f..561d8f6 100644
--- a/test/python/scenarios.json
+++ b/test/python/scenarios.json
@@ -1,4 +1,18 @@
{
+ "install_jupyterlab_2": {
+ "image": "mcr.microsoft.com/vscode/devcontainers/python:latest",
+ "remoteUser": "vscode",
+ "features": {
+ "common-utils": {
+ "username": "vscode"
+ },
+ "python": {
+ "version": "none",
+ "installJupyterlab": true,
+ "configureJupyterlabAllowOrigin": "*"
+ }
+ }
+ },
"install_additional_python": {
"image": "ubuntu:focal",
"features": {
@@ -16,6 +30,7 @@
"username": "vscode"
},
"python": {
+ "version": "latest",
"installJupyterlab": true,
"configureJupyterlabAllowOrigin": "*"
}
@@ -25,7 +40,11 @@
"image": "mcr.microsoft.com/devcontainers/base:0-bullseye",
"features": {
"node": "latest",
- "python": "os-provided"
+ "python": {
+ "version": "os-provided",
+ "installJupyterlab": true,
+ "configureJupyterlabAllowOrigin": "*"
+ }
}
}
-} \ No newline at end of file
+}