Merge pull request #4519 from umami-software/testing

Add API integration test suite with Postgres and ClickHouse coverage
This commit is contained in:
Mike Cao authored and GitHub committed 2026-09-06 20:49:39 -07:00
commit 8b9ba7cce9
59 files changed
+9022 -28

No files matched your search

+6
View File
@@ -22,7 +22,10 @@ RUN pnpm install --frozen-lockfile
# Rebuild the source code only when needed
FROM node:${NODE_IMAGE_VERSION} AS builder
ARG PNPM_VERSION
WORKDIR /app
# build-openapi shells out to pnpm, so the builder stage needs it too
RUN npm install -g pnpm@${PNPM_VERSION}
COPY --from=deps /app/node_modules ./node_modules
COPY . .
COPY docker/proxy.ts ./src
@@ -33,6 +36,9 @@ ENV BASE_PATH=$BASE_PATH
ENV NEXT_TELEMETRY_DISABLED=1
ENV DATABASE_URL="postgresql://user:pass@localhost:5432/dummy"
ARG SKIP_BUILD_GEO
ENV SKIP_BUILD_GEO=$SKIP_BUILD_GEO
RUN npm run build-docker
# Production image, copy all the files and run next