mirror of https://github.com/usbharu/Hideout.git
chore: カバレッジ率の検証をするように
This commit is contained in:
parent
75a59d7393
commit
0801216a0d
|
@ -85,15 +85,17 @@ jobs:
|
|||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
title: Code Coverage
|
||||
update-comment: true
|
||||
min-coverage-overall: 80
|
||||
min-coverage-overall: 50
|
||||
min-coverage-changed-files: 80
|
||||
coverage-counter-type: LINE
|
||||
|
||||
- name: JUnit Test Report
|
||||
uses: mikepenz/action-junit-report@v4
|
||||
with:
|
||||
report_paths: '**/TEST-*.xml'
|
||||
|
||||
- name: Verify Coverage
|
||||
run: ./hideout-core/gradlew :hideout-core:koverVerify
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
needs: [ setup ]
|
||||
|
|
|
@ -211,23 +211,19 @@ project.gradle.taskGraph.whenReady {
|
|||
kover {
|
||||
currentProject {
|
||||
sources {
|
||||
excludedSourceSets.addAll(
|
||||
"aot", "e2eTest", "intTest"
|
||||
)
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
reports {
|
||||
verify{
|
||||
rule{
|
||||
minBound(50)
|
||||
}
|
||||
}
|
||||
filters {
|
||||
excludes {
|
||||
packages(
|
||||
"dev.usbharu.hideout.activitypub.domain.exception",
|
||||
"dev.usbharu.hideout.core.domain.exception",
|
||||
"dev.usbharu.hideout.core.domain.exception.media",
|
||||
"dev.usbharu.hideout.core.domain.exception.resource",
|
||||
"dev.usbharu.hideout.core.domain.exception.resource.local"
|
||||
)
|
||||
annotatedBy("org.springframework.context.annotation.Configuration")
|
||||
annotatedBy("org.springframework.boot.context.properties.ConfigurationProperties")
|
||||
packages(
|
||||
|
|
Loading…
Reference in New Issue