ci: serialize test packages to reduce SQLite initialization contention

This commit is contained in:
Anya Tokugawa committed 2026-11-08 05:42:30 +09:00
1 parent bfed3d20f5
commit ae0cd4b9a0
1 file changed
+4 -1
+4 -1
View File
@@ -11,7 +11,10 @@ RUN go mod download
COPY . .
FROM source AS test
RUN go test ./...
# Test packages create independent SQLite stores. Serialize packages to avoid
# concurrent server/store initialization exhausting the shared runner's I/O.
# Keep production database deadlines and the complete test suite unchanged.
RUN go test -p 1 ./...
FROM source AS runtime
RUN go build -o /pageswiki ./cmd/pageswiki