Skip to content

Commit

Permalink
add jacoco test coverage calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ddest committed May 22, 2023
1 parent 0453ecc commit e4604ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
java-version: 1.8
server-id: github
- name: Run tests
run: ./gradlew test
run: ./gradlew test jacocoTestReport
- name: Check styles of main
run: ./gradlew checkstyleMain
- name: Check styles of test
Expand Down
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ plugins {
id 'checkstyle'
id 'me.champeau.jmh' version '0.6.6'
id 'signing'
id 'jacoco'
}

group 'name.velikodniy.vitaliy'
Expand Down Expand Up @@ -121,3 +122,9 @@ uploadArchives {
}
}
}

jacocoTestReport {
reports {
xml.enabled true
}
}

0 comments on commit e4604ed

Please sign in to comment.