Skip to content

Commit 4076b7d

Browse files
committed
fix: skip doc dir
1 parent eb1f90b commit 4076b7d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

nix/ext/postgis.nix

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,18 @@ let
135135
'';
136136

137137
# Run PostGIS regression tests
138+
# Note: We run tests in specific directories to avoid doc/ which requires
139+
# network access to fetch DocBook DTDs for XML validation
138140
checkPhase = ''
139141
runHook preCheck
140142
141-
# Run the regression tests in extension mode
142-
# This tests core postgis, raster, topology, and sfcgal
143-
make check RUNTESTFLAGS="--extension"
143+
# Run unit tests in code directories (skip doc/ which needs network for DocBook DTD)
144+
make -C liblwgeom check
145+
make -C sfcgal check
146+
make -C loader check
147+
148+
# Run the SQL regression tests in extension mode
149+
make -C regress check RUNTESTFLAGS="--extension"
144150
145151
runHook postCheck
146152
'';

0 commit comments

Comments
 (0)