Skip to content

Commit b73bae9

Browse files
committed
Skip notebook requiring unreleased server in CI
1 parent b8e7432 commit b73bae9

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

examples/kge-predict-transe-pyg-train.ipynb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@
4242
"gds = GraphDataScience(NEO4J_URI, auth=NEO4J_AUTH, database=NEO4J_DB)"
4343
]
4444
},
45+
{
46+
"cell_type": "code",
47+
"execution_count": null,
48+
"metadata": {},
49+
"outputs": [],
50+
"source": [
51+
"# This notebook requires GDS 2.5.0 or later\n",
52+
"assert gds.version() >= \"2.5.0\""
53+
]
54+
},
4555
{
4656
"cell_type": "code",
4757
"execution_count": null,

scripts/run_notebooks

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ set -o nounset
55
set -o pipefail
66

77
for file in examples/*; do
8-
if [ -f "$file" ]; then
8+
# Temporarily skipping notebooks requiring next server version
9+
if test -f "$file" && test "$file" != "examples/kge-predict-transe-pyg-train.ipynb"; then
910
echo "Executing jupyter notebook $file"
1011
jupyter nbconvert --to notebook --inplace --execute --ExecutePreprocessor.kernel_name=python3 $file
1112
echo "Finished executing jupyter notebook $file"

0 commit comments

Comments
 (0)