ci: serialize test packages to reduce SQLite initialization contention
Build and publish container images / images (push) Successful in 13m10s
Release container images / release (push) Successful in 25s

This commit is contained in:
Anya Tokugawa committed 2026-11-08 05:42:30 +09:00
1 parent bfed3d20f5
commit 16e572397b
1 file changed
+4 -1
+4 -1
View File
@@ -11,7 +11,10 @@ RUN go mod download
COPY . . COPY . .
FROM source AS test 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 FROM source AS runtime
RUN go build -o /pageswiki ./cmd/pageswiki RUN go build -o /pageswiki ./cmd/pageswiki