fix test
This commit is contained in:
parent
7e974111f1
commit
fdaf4868fb
3 changed files with 24 additions and 4 deletions
11
test/python/install_jupyterlab_os_provided.sh
Normal file
11
test/python/install_jupyterlab_os_provided.sh
Normal file
|
@ -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
|
|
@ -9,7 +9,6 @@ check "python3 is installed" python3 --version
|
||||||
check "python is installed" python --version
|
check "python is installed" python --version
|
||||||
check "pip is installed" pip --version
|
check "pip is installed" pip --version
|
||||||
check "pip is installed" pip3 --version
|
check "pip is installed" pip3 --version
|
||||||
check "jupyter lab version" jupyter lab --version
|
|
||||||
|
|
||||||
check "node is installed" node --version
|
check "node is installed" node --version
|
||||||
|
|
||||||
|
|
|
@ -36,15 +36,25 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"install_os_provided_python": {
|
"install_jupyterlab_os_provided": {
|
||||||
"image": "mcr.microsoft.com/devcontainers/base:0-bullseye",
|
"image": "mcr.microsoft.com/vscode/devcontainers/base:focal",
|
||||||
|
"remoteUser": "vscode",
|
||||||
"features": {
|
"features": {
|
||||||
"node": "latest",
|
"common-utils": {
|
||||||
|
"username": "vscode"
|
||||||
|
},
|
||||||
"python": {
|
"python": {
|
||||||
"version": "os-provided",
|
"version": "os-provided",
|
||||||
"installJupyterlab": true,
|
"installJupyterlab": true,
|
||||||
"configureJupyterlabAllowOrigin": "*"
|
"configureJupyterlabAllowOrigin": "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"install_os_provided_python": {
|
||||||
|
"image": "mcr.microsoft.com/devcontainers/base:0-bullseye",
|
||||||
|
"features": {
|
||||||
|
"node": "latest",
|
||||||
|
"python": "os-provided"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue