Add(.footprint) : 발자취 도메인 엔티티 분리 및 매핑 #128
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: convention check w/ jacoco | |
on: | |
pull_request: | |
branches: | |
- prod | |
- dev | |
permissions: | |
checks: write | |
pull-requests: write | |
env: | |
GRADLE_VERSION: 8.3 | |
JAVA_VERSION: '17' | |
JAVA_DISTRIBUTION: 'temurin' | |
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Branch | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ env.JAVA_VERSION }} | |
distribution: ${{ env.JAVA_DISTRIBUTION }} | |
- name: Setup Gradle w/ caching | |
uses: gradle/[email protected] | |
with: | |
gradle-version: ${{ env.GRADLE_VERSION }} | |
- name: Check Code Convention | |
run: gradle check | |
- name: Check Tests w/ Test Coverage | |
run: gradle testWithJacoco | |
- name: Add Coverage on Pull Request | |
id: jacoco | |
uses: madrapps/[email protected] | |
with: | |
paths: ${{ github.workspace }}/build/reports/jacoco/test/jacocoTestReport.xml | |
token: ${{ secrets.GITHUB_TOKEN }} | |
min-coverage-overall: 60 | |
min-coverage-changed-files: 60 | |
title: Test Coverage Report | |
build: | |
needs: check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Branch | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ env.JAVA_VERSION }} | |
distribution: ${{ env.JAVA_DISTRIBUTION }} | |
- name: Clean Build w/o TEST, CHECK | |
uses: gradle/[email protected] | |
with: | |
arguments: clean build -x test -x check |