-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) ยท 1.09 KB
/
ci-merge.yml
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
37
38
39
40
41
42
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/test-results/**/*.xml
# - name: Jacoco Report to PR
# id: jacoco
# uses: madrapps/jacoco-report@v1.6.1
# with:
# paths: ${{ github.workspace }}/build/reports/jacoco/test/jacocoTestReport.xml
# token: ${{ secrets.GITHUB_TOKEN }}
# min-coverage-overall: 40
# min-coverage-changed-files: 40
# title: "Code Coverage"
# update-comment: true