Feat: DDIP event 엔티티 설계 및 도메인 기능 개발 #21
Workflow file for this run
This file contains hidden or 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: PR Test and Coverage Comment | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| - name: Run Gradle Tests | |
| run: ./gradlew test jacocoTestReport | |
| - name: Write coverage comments on PR | |
| uses: madrapps/[email protected] | |
| with: | |
| paths: build/reports/jacoco/test/jacocoTestReport.xml | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| min-coverage-overall: 60 | |
| min-coverage-changed-files: 80 | |
| title: 📊 Code Coverage Report | |
| update-comment: true | |
| pull-request-id: ${{ github.event.pull_request.number }} | |
| - name: Show test results as PR comments | |
| uses: EnricoMi/publish-unit-test-result-action@v2 | |
| if: always() | |
| with: | |
| files: build/test-results/**/*.xml |