From 60390657c40031ee3e082bef81218126091c4720 Mon Sep 17 00:00:00 2001 From: Michael Vasseur <14887731+vmcj@users.noreply.github.com> Date: Tue, 3 Dec 2024 22:19:44 +0100 Subject: [PATCH] Fixup --- .github/jobs/baseinstall.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/jobs/baseinstall.sh b/.github/jobs/baseinstall.sh index f256631273..790a3b8635 100755 --- a/.github/jobs/baseinstall.sh +++ b/.github/jobs/baseinstall.sh @@ -7,7 +7,9 @@ db=${2:-install} MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root} # If this script is called from unit-tests.sh, we use the test environment -#export APP_ENV="${3:-prod}" +export APP_ENV="${3:-prod}" +APP_ENV="prod" +export APP_ENV # In the test environment, we need to use a different database [ "$APP_ENV" = "prod" ] && DATABASE_NAME=domjudge || DATABASE_NAME=domjudge_test