diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-09-08 23:30:57 +0300 |
---|---|---|
committer | Samruddhi Khandale <skhandale@microsoft.com> | 2022-09-08 23:30:57 +0300 |
commit | dd737d12e1f28906243bf3900a8a2787508afa57 (patch) | |
tree | cc32d7c37bd4af961bcc00396840e7feb7270b61 /test | |
parent | 723b2ea168cf42c4a3c00789b92c726b5a021182 (diff) |
address comments
Diffstat (limited to 'test')
-rw-r--r-- | test/python/install_jupyterlab_2.sh | 11 | ||||
-rw-r--r-- | test/python/install_os_provided_python.sh | 1 | ||||
-rw-r--r-- | test/python/scenarios.json | 23 |
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 +} |