Skip to content

[SAMBAD-219]-커버리지 업데이트 테스트 #103

[SAMBAD-219]-커버리지 업데이트 테스트

[SAMBAD-219]-커버리지 업데이트 테스트 #103

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/reports/jacoco/test/jacocoTestReport.xml
- name: Report to CodeCov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./build/reports/jacoco/test/jacocoTestReport.xml