From 0dcb2544d74f3196fa8ec0a46dda422dc2949373 Mon Sep 17 00:00:00 2001 From: Debanjum Date: Thu, 3 Apr 2025 22:30:53 +0530 Subject: [PATCH] Use embedded postgres instead of postgres server for eval workflow --- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- .github/workflows/run_evals.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 5820799f..548b752c 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -51,4 +51,4 @@ body: description: "Provide a link to the first message of feature request's discussion on Discord or Github.\n This will help to keep history of why this feature request exists." validations: - required: false \ No newline at end of file + required: false diff --git a/.github/workflows/run_evals.yml b/.github/workflows/run_evals.yml index 222aa036..801b4e44 100644 --- a/.github/workflows/run_evals.yml +++ b/.github/workflows/run_evals.yml @@ -98,9 +98,8 @@ jobs: env: DEBIAN_FRONTEND: noninteractive run: | - # install postgres and other dependencies + # install dependencies sudo apt update && sudo apt install -y git python3-pip libegl1 sqlite3 libsqlite3-dev libsqlite3-0 ffmpeg libsm6 libxext6 - sudo apt install -y postgresql postgresql-client && sudo apt install -y postgresql-server-dev-16 # upgrade pip python -m ensurepip --upgrade && python -m pip install --upgrade pip # install terrarium for code sandbox @@ -137,6 +136,7 @@ jobs: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: postgres + USE_EMBEDDED_DB: "true" KHOJ_TELEMETRY_DISABLE: "True" # To disable telemetry for tests run: | # Start Khoj server in background