Province Enum 입력 값에 대한 유연한 처리(제주, 제주도, 제주특별자치도 등) #181
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: Gradle-Test | |
on: | |
pull_request: | |
branches: [ main, develop, review ] | |
permissions: | |
contents: read | |
checks: write | |
pull-requests: write | |
jobs: | |
gradle-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK 17 # JAVA 버전 지정 | |
uses: actions/[email protected] | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Gradle Caching | |
uses: actions/[email protected] | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Grant execute permission for gradlew | |
working-directory: ./animory | |
run: chmod +x ./gradlew | |
- name: Copy Secret File into Project Resource | |
env: | |
AWS_SECRET: ${{ secrets.AWS_SECRET }} | |
TARGET_DIR: ./animory/src/main/resources | |
run: echo $AWS_SECRET | base64 -d > $TARGET_DIR/aws-secret.yml | |
- name: Test with Gradle | |
working-directory: ./animory | |
run: ./gradlew test --warning-mode=all --stacktrace | |
- name: Add Unit Test Results to PR | |
uses: mikepenz/[email protected] | |
if: always() | |
with: | |
report_paths: animory/build/test-results/test/TEST-*.xml | |
- name: Add Jacoco Test coverage to PR | |
uses: madrapps/[email protected] | |
with: | |
paths: | | |
${{ github.workspace }}/animory/build/reports/jacoco/test/jacocoTestReport.xml | |
token: ${{ secrets.GITHUB_TOKEN }} | |
title: 'Test Coverage Report' | |
update-comment: true | |
pass-emoji: ':heart_eyes:' | |
fail-emoji: ':disappointed:' | |
skip-if-no-changes: true | |
min-coverage-overall: 70 | |
min-coverage-changed-files: 50 |