Skip to content

Commit

Permalink
Update Kover to fix coverage report upload to Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkgroot committed Mar 31, 2023
1 parent 4525fc4 commit 05ac0fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
- name: Upload Code Coverage Report
uses: codecov/codecov-action@v3
with:
files: ${{ github.workspace }}/build/reports/kover/xml/report.xml
files: ${{ github.workspace }}/build/reports/kover/report.xml

# Cache Plugin Verifier IDEs
- name: Setup Plugin Verifier IDEs Cache
Expand Down
8 changes: 5 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
id("org.jetbrains.kotlin.jvm") version "1.8.10"
id("org.jetbrains.intellij") version "1.13.3"
id("org.jetbrains.changelog") version "2.0.0"
id("org.jetbrains.kotlinx.kover") version "0.6.1"
id("org.jetbrains.kotlinx.kover") version "0.7.0-Alpha"
id("org.jetbrains.grammarkit") version "2022.3.1"
}

Expand Down Expand Up @@ -40,8 +40,10 @@ changelog {
repositoryUrl.set(properties("pluginRepositoryUrl"))
}

kover.xmlReport {
onCheck.set(true)
koverReport {
xml {
onCheck = true
}
}

sourceSets["main"].java.srcDirs("src/main/gen")
Expand Down

0 comments on commit 05ac0fc

Please sign in to comment.