Skip to content
Snippets Groups Projects
Commit 187fc2bf authored by dgelessus's avatar dgelessus
Browse files

Test kernel installation and basic functionality in GitLab CI

parent 89183e0a
No related branches found
No related tags found
No related merge requests found
Pipeline #36516 passed
...@@ -10,11 +10,21 @@ default: ...@@ -10,11 +10,21 @@ default:
- .gradle/native - .gradle/native
- .gradle/wrapper - .gradle/wrapper
before_script: before_script:
- apt-get update
- apt-get install --assume-yes jupyter-client jupyter-console
- export GRADLE_USER_HOME="${PWD}/.gradle" - export GRADLE_USER_HOME="${PWD}/.gradle"
test: test:
stage: test stage: test
script: ./gradlew ${GRADLE_OPTIONS} check shadowJar script:
- ./gradlew ${GRADLE_OPTIONS} check shadowJar
# Test installation of kernel into Jupyter.
- java -jar build/libs/prob2-jupyter-kernel-*-all.jar install --user
# Test basic functionality of the installed kernel.
- |
jupyter console --kernel=prob2 --simple-prompt << EOF
:version
EOF
artifacts: artifacts:
expire_in: 1 week expire_in: 1 week
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment