-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 842 Bytes
/
be-ci.yml
File metadata and controls
36 lines (30 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: be-ci
on:
pull_request:
branches:
- "dev/be"
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Test
run: chmod +x gradlew && ./gradlew clean test
- name: Comment test coverage
id: jacoco
uses: madrapps/jacoco-report@v1.2
with:
title: 📝 테스트 커버리지 리포트입니다
paths: ${{ github.workspace }}/server/build/reports/jacoco/test/jacocoTestReport.xml
token: ${{ secrets.GITHUB_TOKEN }}
min-coverage-overall: 80
min-coverage-changed-files: 50