Select Git revision
config.yaml
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.gitlab-ci.yml 829 B
variables:
DEBIAN_FRONTEND: noninteractive
GRADLE_OPTIONS: --info --stacktrace --warning-mode=all
default:
image: openjdk:8-jdk-slim
cache:
paths:
- .gradle/caches
- .gradle/native
- .gradle/wrapper
before_script:
- apt-get update
- apt-get install --assume-yes git jupyter-client jupyter-console
- export GRADLE_USER_HOME="${PWD}/.gradle"
test:
stage: test
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:
expire_in: 1 week
paths:
- build/distributions
- build/libs