Skip to content

[BUG FIX] #411: 유사견적 옵션 순서 자동 sort되도록 버그수정 #40

[BUG FIX] #411: 유사견적 옵션 순서 자동 sort되도록 버그수정

[BUG FIX] #411: 유사견적 옵션 순서 자동 sort되도록 버그수정 #40

Workflow file for this run

name: Test Coverage
on:
pull_request:
branches:
- 'dev'
paths:
- '**.java'
permissions:
contents: read
pull-requests: write
env:
APPLICATION: ${{ secrets.APPLICATION_TEST }}
wd: ./backend
jobs:
test-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Copy application.yml
working-directory: ${{ env.wd }}
run: |
touch ./src/test/resources/application.yml
echo "${{ secrets.APPLICATION_TEST }}" > ./src/test/resources/application.yml
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run Coverage
working-directory: ${{ env.wd }}
run: |
chmod +x gradlew
./gradlew testCoverage
- name: Add coverage to PR
id: jacoco
uses: madrapps/[email protected]
with:
paths: ${{ github.workspace }}/backend/build/reports/jacoco/test/jacocoTestReport.xml
token: ${{ secrets.GITHUB_TOKEN }}
title: 📊 테스트 커버리지 결과
min-coverage-overall: 80
update-comment: true
continue-on-error: true