Skip to content

Commit 738d3d1

Browse files
committed
fix: CI 테스트 로그 강화 및 테스트 리포트 업로드 추가
1 parent e114e0e commit 738d3d1

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/deploy-staging-auto.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,23 @@ jobs:
6464
exit 1
6565
6666
- name: Run tests
67-
run: ./gradlew test --stacktrace --info -Duser.timezone=Asia/Seoul
67+
run: ./gradlew test --stacktrace --info \
68+
-Duser.timezone=Asia/Seoul \
69+
-Dspring.profiles.active=test \
70+
-Dlogging.level.org.hibernate.SQL=DEBUG \
71+
-Dlogging.level.org.hibernate.orm.jdbc.bind=TRACE \
72+
-Dlogging.level.org.springframework.transaction=TRACE
73+
74+
- name: Upload test reports
75+
if: always()
76+
uses: actions/upload-artifact@v4
77+
with:
78+
name: test-reports
79+
path: |
80+
build/reports/tests/test
81+
build/test-results/test
82+
build/reports/problems
83+
retention-days: 7
6884

6985
build_and_deploy:
7086
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)