Skip to content

Commit 0914343

Browse files
committed
fix: ci 테스트 레포트 분석을 위한 설정 추가
- ci workflow 수정
1 parent 450d909 commit 0914343

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,14 @@ jobs:
8787
shell: bash
8888

8989
- name: 빌드 및 테스트
90-
run: ./gradlew build
91-
env:
92-
SPRING_DATASOURCE_URL: jdbc:mysql://localhost:3306/test
93-
SPRING_DATASOURCE_USERNAME: root
94-
SPRING_DATASOURCE_PASSWORD: root
90+
run: ./gradlew build --info
91+
92+
- name: Save test reports
93+
if: ${{ always() }}
94+
uses: actions/upload-artifact@v3
95+
with:
96+
name: test-reports
97+
path: build/reports/tests/test
9598

9699
- name: Close PR, if build fail
97100
if: ${{ failure() }}

0 commit comments

Comments
 (0)