File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
backend/src/test/resources Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 2828 env :
2929 SPRING_PROFILES_ACTIVE : test
3030
31+ # ✅ Redis 서비스 추가
32+ services :
33+ redis :
34+ image : redis:7-alpine
35+ ports :
36+ - 6379:6379
37+ options : >-
38+ --health-cmd "redis-cli ping"
39+ --health-interval 10s
40+ --health-timeout 5s
41+ --health-retries 5
42+
3143 steps :
3244 - uses : actions/checkout@v4
3345
5668 # JPA 설정
5769 TEST_JPA_HIBERNATE_DDL_AUTO=create-drop
5870
59- # Redis 설정
71+ # Redis 설정 (GitHub Actions 서비스 사용)
6072 TEST_REDIS_HOST=localhost
6173 TEST_REDIS_PORT=6379
6274 TEST_REDIS_PASSWORD=
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ spring:
2626 host : ${TEST_REDIS_HOST}
2727 port : ${TEST_REDIS_PORT}
2828 password : ${TEST_REDIS_PASSWORD}
29- embedded : true
3029
3130 security :
3231 oauth2 :
You can’t perform that action at this time.
0 commit comments