Skip to content

Commit

Permalink
chore: ci 단위 테스트 step 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
LineYK committed Nov 6, 2023
1 parent 0407084 commit f3a7496
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: CI

permissions:
checks: write
pull-requests: write

on:
push:
branches: [main]
Expand All @@ -19,7 +23,6 @@ jobs:
uses: samin/mysql-action@v1.3
with:
character set server: "utf8"
host port: 80
mysql database: "milkweb"
mysql version: '8.0'
mysql user: ${{secrets.MY_SQL_USER}}
Expand All @@ -32,3 +35,13 @@ jobs:
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: build

# 테스트 후 Result를 보기위해 Publish Unit Test Results step 추가
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2.11.0
if: ${{ always() }} # 테스트가 실패하여도 Report를 보기 위해 `always`로 설정
with:
files: |
test-results/**/*.xml
test-results/**/*.trx
test-results/**/*.json

0 comments on commit f3a7496

Please sign in to comment.