From a8d86a10bc31383d212edb4eabdad5ec0e188c18 Mon Sep 17 00:00:00 2001 From: openhands Date: Tue, 28 Jul 2026 23:09:15 +0200 Subject: [PATCH] fix(ci): add missing env vars for robust CI builds Add NODE_ENV=test and REDIS_URL so tests run cleanly and Prisma can resolve all required configuration. --- .gitea/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 8893634d..85994bde 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -30,8 +30,10 @@ jobs: git checkout -f "${REF}" export SKIP_ENV_VALIDATION=1 + export NODE_ENV=test export DATABASE_URL="mysql://test:test@localhost:3306/test?charset=utf8mb4" export AUTH_SECRET="ci-test-secret-key-that-is-long-enough" + export REDIS_URL="redis://127.0.0.1:6379?connect_timeout=1" export ARGON2_MEMORY_SIZE=1024 export ARGON2_ITERATIONS=1 export BCRYPT_ROUNDS=4