Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProB 2 Jupyter Kernel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
ProB 2 Jupyter Kernel
Commits
187fc2bf
Commit
187fc2bf
authored
5 years ago
by
dgelessus
Browse files
Options
Downloads
Patches
Plain Diff
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
5 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-1
11 additions, 1 deletion
.gitlab-ci.yml
with
11 additions
and
1 deletion
.gitlab-ci.yml
+
11
−
1
View file @
187fc2bf
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment