Skip to content

Commit 414d986

Browse files
authored
Merge pull request #96 from macisamuele/maci-codecov-fix
Codecov fix
2 parents d15b5ff + d1c47b9 commit 414d986

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/pre-merge.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ jobs:
2525
with:
2626
gradle-version: wrapper
2727
arguments: preMerge
28+
- name: Publish Coverage
29+
uses: codecov/codecov-action@v1

gradle-plugin/plugin/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ tasks.check {
9191
dependsOn(tasks.jacocoTestReport)
9292
}
9393

94+
tasks.test {
95+
finalizedBy(tasks.jacocoTestReport)
96+
}
97+
9498
tasks.withType<Test> {
9599
dependsOn("publishPluginMavenPublicationToPluginTestRepository")
96100
inputs.dir("src/test/testProject")

0 commit comments

Comments
 (0)