File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 28
28
jobs :
29
29
test :
30
30
runs-on : ubuntu-latest
31
-
31
+ permissions :
32
+ pull-requests : write
32
33
steps :
33
34
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
34
35
- name : Checkout Repo
44
45
distribution : ' temurin'
45
46
46
47
- name : Build modules
47
- run : ./gradlew build jacocoTestReport --stacktrace
48
+ run : ./gradlew build jacocoTestDebugUnitTestReport --stacktrace
49
+
50
+ - name : Jacoco Report to PR
51
+ id : jacoco
52
+
53
+ with :
54
+ paths : |
55
+ ${{ github.workspace }}/library/build/jacoco/jacoco.xml
56
+ token : ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
57
+ min-coverage-overall : 26
58
+ min-coverage-changed-files : 60
59
+ title : Code Coverage
60
+ debug-mode : false
61
+ update-comment : true
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ subprojects { project ->
74
74
75
75
// Code coverage
76
76
jacoco {
77
- toolVersion = " 0.8.4 "
77
+ toolVersion = " 0.8.8 "
78
78
}
79
79
80
80
tasks. withType(Test ). configureEach {
You can’t perform that action at this time.
0 commit comments