Skip to content

Commit 0021432

Browse files
author
Jeff Whitaker
committed
only run https dap test on macos x for now
1 parent c559cf0 commit 0021432

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

config.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ function run_tests {
290290
cp ../netcdf4-python/test/* .
291291
python run_all.py
292292
# add test for netcdf4-python issue #1246 (opendap with ssl)
293-
URL='https://icdc.cen.uni-hamburg.de/thredds/dodsC/ftpthredds/hamtide/m2.hamtide11a.nc'
294-
#python -c "from netCDF4 import Dataset; nc=Dataset(\"${URL}\"); print(nc)"
295-
ncdump -h $URL
293+
if [ -n "$IS_MACOS" ]; then # for now only run on MacOS since linux fails
294+
URL='https://icdc.cen.uni-hamburg.de/thredds/dodsC/ftpthredds/hamtide/m2.hamtide11a.nc'
295+
python -c "from netCDF4 import Dataset; nc=Dataset(\"${URL}\"); print(nc)"
296+
fi
296297
}

0 commit comments

Comments
 (0)