From 18756d5078766ffc3956502db8ba78cf87840c49 Mon Sep 17 00:00:00 2001 From: DooHyoJeong Date: Wed, 8 Oct 2025 19:10:14 +0900 Subject: [PATCH] =?UTF-8?q?chore[infra]:=20test=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CI-CD_Pipeline.yml | 7 +++---- backend/src/test/resources/application-test-ci.yml | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI-CD_Pipeline.yml b/.github/workflows/CI-CD_Pipeline.yml index 271d41da..2367e08b 100644 --- a/.github/workflows/CI-CD_Pipeline.yml +++ b/.github/workflows/CI-CD_Pipeline.yml @@ -22,7 +22,6 @@ jobs: - os: ubuntu-latest gradle_cmd: "./gradlew" report_path: "backend/build/reports/tests" - domain_tasks: "testUser testExchange testTrade_log testWallet testCoin" runs-on: ${{ matrix.os }} env: @@ -82,8 +81,7 @@ jobs: run: | cat > .env << 'EOF' # Datasource 설정 (application-test.yml에서 참조) - SPRING_PROFILES_ACTIVE=test - TEST_DATASOURCE_URL=jdbc:h2:mem:db_test;MODE=MySQL;DATABASE_TO_LOWER=TRUE;CASE_INSENSITIVE_IDENTIFIERS=TRUE + TEST_DATASOURCE_URL=jdbc:h2:mem:db_test;MODE=MySQL TEST_DATASOURCE_USERNAME=sa TEST_DATASOURCE_PASSWORD= TEST_DATASOURCE_DRIVER=org.h2.Driver @@ -91,8 +89,9 @@ jobs: # JPA 설정 (application-test.yml에서 참조) TEST_JPA_HIBERNATE_DDL_AUTO=create-drop - send_email_password=${{ secrets.SEND_EMAIL_PASSWORD }} send_email_address=${{ secrets.SEND_EMAIL_ADDRESS }} + send_email_password=${{ secrets.SEND_EMAIL_PASSWORD }} + # Redis 설정 (application-test.yml에서 참조, GitHub Actions 서비스 사용) TEST_REDIS_HOST=localhost diff --git a/backend/src/test/resources/application-test-ci.yml b/backend/src/test/resources/application-test-ci.yml index 5f2fa412..8bcf3783 100644 --- a/backend/src/test/resources/application-test-ci.yml +++ b/backend/src/test/resources/application-test-ci.yml @@ -20,7 +20,6 @@ spring: use_sql_comments: true format_sql: true highlight_sql: true - dialect: org.hibernate.dialect.H2Dialect mail: host: smtp.daum.net