From e79f2e858d739f77e6e17102c387e1aa582748d0 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Tue, 19 Nov 2024 17:31:29 +0100 Subject: [PATCH] dev: Fix the DB configuration on the CI --- .github/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 86fd1abe..adbe182b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,6 +11,7 @@ on: - 'feat/**' env: + APP_ENV: test NO_DOCKER: true COVERAGE: --coverage-text LDAP_HOST: localhost @@ -65,7 +66,7 @@ jobs: - name: Run the test suite run: make test env: - DATABASE_URL: "postgresql://postgres:postgres@127.0.0.1:5432/bileto?serverVersion=12&charset=utf8" + DATABASE_URL: "postgresql://postgres:postgres@127.0.0.1:5432/bileto_test?serverVersion=12&charset=utf8" mariadb: runs-on: ${{ matrix.operating-system }} @@ -115,4 +116,4 @@ jobs: - name: Run the test suite run: make test env: - DATABASE_URL: 'mysql://root:mariadb@127.0.0.1:3306/bileto?serverVersion=10.4.29-MariaDB' + DATABASE_URL: 'mysql://root:mariadb@127.0.0.1:3306/bileto_test?serverVersion=10.4.29-MariaDB'