Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/CI-CD_Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -82,17 +81,17 @@ 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

# 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
Expand Down
1 change: 0 additions & 1 deletion backend/src/test/resources/application-test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading