Skip to content

Commit

Permalink
Test if test finalization works in shared config
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCreosote committed Feb 18, 2024
1 parent 736bb92 commit d5b56bf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ tasks.withType(Test) {
// gradle thinks that classes annotated with @RunWith are tests
excludeTestsMatching "*Tester"
}
finalizedBy jacocoTestReport
}

jacocoTestReport {
Expand All @@ -60,8 +61,7 @@ jacocoTestReport {
}

test {
// finalizing works in the shared config, but gets skipped in GHA...?
finalizedBy jacocoTestReport
// no special config needed
}

task testQuick(type: Test) {
Expand All @@ -72,8 +72,6 @@ task testQuick(type: Test) {
filter {
excludeTestsMatching "*LongTest"
}
// finalizing works in the shared config, but gets skipped in GHA...?
finalizedBy jacocoTestReport
}

// Custom java project layout
Expand Down

0 comments on commit d5b56bf

Please sign in to comment.