Add test scenario

This commit is contained in:
Alexander Smolyakov 2023-09-20 13:04:26 +04:00
parent 7f090b09b5
commit 9e62a3797a
2 changed files with 29 additions and 1 deletions

View 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

View file

@ -53,5 +53,14 @@
"features": {
"python": "3.10"
}
},
"install_jupyterlab_debian": {
"image": "debian:bullseye-slim",
"features": {
"python": {
"version": "3.11",
"installJupyterlab": true
}
}
}
}
}