aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-09-09 01:08:41 +0300
committerSamruddhi Khandale <skhandale@microsoft.com>2022-09-09 01:08:41 +0300
commitfdaf4868fbe00742840d0c63611e74a448b72e41 (patch)
tree75cd3d7a13bc151326a4a6686a31d1d8b82909f5
parent7e974111f1efdaad54f7912cc002841c210f4315 (diff)
-rw-r--r--test/python/install_jupyterlab_os_provided.sh11
-rw-r--r--test/python/install_os_provided_python.sh1
-rw-r--r--test/python/scenarios.json16
3 files changed, 24 insertions, 4 deletions
diff --git a/test/python/install_jupyterlab_os_provided.sh b/test/python/install_jupyterlab_os_provided.sh
new file mode 100644
index 0000000..cdf6705
--- /dev/null
+++ b/test/python/install_jupyterlab_os_provided.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 3c4a8f6..50a617e 100644
--- a/test/python/install_os_provided_python.sh
+++ b/test/python/install_os_provided_python.sh
@@ -9,7 +9,6 @@ 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 561d8f6..0caaeee 100644
--- a/test/python/scenarios.json
+++ b/test/python/scenarios.json
@@ -36,15 +36,25 @@
}
}
},
- "install_os_provided_python": {
- "image": "mcr.microsoft.com/devcontainers/base:0-bullseye",
+ "install_jupyterlab_os_provided": {
+ "image": "mcr.microsoft.com/vscode/devcontainers/base:focal",
+ "remoteUser": "vscode",
"features": {
- "node": "latest",
+ "common-utils": {
+ "username": "vscode"
+ },
"python": {
"version": "os-provided",
"installJupyterlab": true,
"configureJupyterlabAllowOrigin": "*"
}
}
+ },
+ "install_os_provided_python": {
+ "image": "mcr.microsoft.com/devcontainers/base:0-bullseye",
+ "features": {
+ "node": "latest",
+ "python": "os-provided"
+ }
}
}