Skip to content

[SAMBAD-276]-์† ํ”๋“ค์–ด ์ธ์‚ฌํ•˜๊ธฐ ์ƒํƒœ ์กฐํšŒ API #166

[SAMBAD-276]-์† ํ”๋“ค์–ด ์ธ์‚ฌํ•˜๊ธฐ ์ƒํƒœ ์กฐํšŒ API

[SAMBAD-276]-์† ํ”๋“ค์–ด ์ธ์‚ฌํ•˜๊ธฐ ์ƒํƒœ ์กฐํšŒ API #166

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/jacoco-report@v1.6.1
# 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