Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure notebook-testing script fails when notebooks fail #1424

Merged
merged 10 commits into from
Aug 13, 2024
4 changes: 2 additions & 2 deletions ci/test_notebooks.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright (c) 2020-2024, NVIDIA CORPORATION.

set -euo pipefail
set -eEuo pipefail

. /opt/conda/etc/profile.d/conda.sh

Expand Down Expand Up @@ -29,7 +29,7 @@ NBTEST="$(realpath "$(dirname "$0")/utils/nbtest.sh")"

# Add notebooks that should be skipped here
# (space-separated list of filenames without paths)
SKIPNBS="binary_predicates.ipynb cuproj_benchmark.ipynb"
SKIPNBS="binary_predicates.ipynb cuproj_benchmark.ipynb ZipCodes_Stops_PiP_cuSpatial.ipynb"

EXITCODE=0
trap "EXITCODE=1" ERR
Expand Down
4 changes: 2 additions & 2 deletions notebooks/nyc_taxi_years_correlation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@
"taxi_zone_rings = cuspatial.GeoSeries.from_polygons_xy(\n",
" polygons_xy=taxi_zones.polygons.xy,\n",
" ring_offset=taxi_zones.polygons.ring_offset,\n",
" part_offsets=taxi_zones.polygons.part_offset,\n",
" geometry_offsets=cudf.Series(range(len(taxi_zones.polygons.part_offset)))\n",
" part_offset=taxi_zones.polygons.part_offset,\n",
" geometry_offset=cudf.Series(range(len(taxi_zones.polygons.part_offset)))\n",
")"
]
},
Expand Down
Loading