Skip to content

Commit 6c0dece

Browse files
committed
Is the APP_ENV the issue
1 parent c66c2b8 commit 6c0dece

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/jobs/baseinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ db=${2:-install}
77
MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root}
88

99
# If this script is called from unit-tests.sh, we use the test environment
10-
export APP_ENV="${3:-prod}"
10+
#export APP_ENV="${3:-prod}"
1111

1212
# In the test environment, we need to use a different database
1313
[ "$APP_ENV" = "prod" ] && DATABASE_NAME=domjudge || DATABASE_NAME=domjudge_test

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
timeout-minutes: 20
1515
container:
1616
image: domjudge/gitlabci:24.04
17+
options: --privileged --cgroupns=host --init
1718
services:
1819
sqlserver:
1920
image: mariadb

0 commit comments

Comments
 (0)