Skip to content

[SAMBAD-237] ๋ฉ€ํ‹ฐ ๋ชจ๋“ˆ ๊ธฐ๋ฐ˜ ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ #193

[SAMBAD-237] ๋ฉ€ํ‹ฐ ๋ชจ๋“ˆ ๊ธฐ๋ฐ˜ ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜

[SAMBAD-237] ๋ฉ€ํ‹ฐ ๋ชจ๋“ˆ ๊ธฐ๋ฐ˜ ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ #193

Workflow file for this run

name: Check test coverage and merge
on:
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: "GitHub ์—์„œ ๋ ˆํฌ ๋ฐ›์•„์˜ค๊ธฐ"
uses: actions/checkout@v3
- name: "JDK17 ์ค€๋น„ํ•˜๊ธฐ"
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: "Gradle ๊ถŒํ•œ ๋ถ€์—ฌ"
run: chmod +x gradlew
- name: "ํ…Œ์ŠคํŠธ ์‹คํ–‰"
run: ./gradlew test
continue-on-error: true
- name: "ํ…Œ์ŠคํŠธ ๊ฒฐ๊ณผ ์—…๋กœ๋“œ"
uses: EnricoMi/publish-unit-test-result-action@v1
if: ${{ always() }}
with:
files: build/test-results/**/*.xml
# - name: Jacoco Report to PR
# id: jacoco
# uses: madrapps/[email protected]
# with:
# paths: ${{ github.workspace }}/build/reports/jacoco/test/jacocoTestReport.xml
# token: ${{ secrets.GITHUB_TOKEN }}
# min-coverage-overall: 40
# min-coverage-changed-files: 40
# title: "Code Coverage"
# update-comment: true