Add test scenario
This commit is contained in:
parent
7f090b09b5
commit
9e62a3797a
2 changed files with 29 additions and 1 deletions
19
test/python/install_jupyterlab_debian.sh
Normal file
19
test/python/install_jupyterlab_debian.sh
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Optional: Import test library
|
||||
source dev-container-features-test-lib
|
||||
|
||||
# Check for an installation of JupyterLab
|
||||
check "version" jupyter lab --version
|
||||
|
||||
# Check location of JupyterLab installation
|
||||
packages="$(python3 -m pip list)"
|
||||
check "location" grep jupyter <<< "$packages"
|
||||
|
||||
# Check for git extension
|
||||
check "jupyterlab-git" grep jupyterlab-git <<< "$packages"
|
||||
|
||||
# Report result
|
||||
reportResults
|
|
@ -53,5 +53,14 @@
|
|||
"features": {
|
||||
"python": "3.10"
|
||||
}
|
||||
},
|
||||
"install_jupyterlab_debian": {
|
||||
"image": "debian:bullseye-slim",
|
||||
"features": {
|
||||
"python": {
|
||||
"version": "3.11",
|
||||
"installJupyterlab": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue