File tree Expand file tree Collapse file tree 1 file changed +5
-19
lines changed
Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change @@ -34,31 +34,17 @@ jobs:
3434 restore-keys : |
3535 ${{ runner.os }}-gradle-konan-1.7.0
3636 - uses : gradle/gradle-build-action@v2
37- with :
38- gradle-version : wrapper
39- arguments : |
40- build
41- -x detekt
42- -Porg.gradle.caching=true
43- -Pdetekt.multiplatform.disabled=true
44- -PdisableRedundantTargets=true
45- -PenabledExecutables=debug
46- -PgprUser=${{ github.actor }}
47- -PgprKey=${{ secrets.GITHUB_TOKEN }}
48-
49- # For some reason, running `gradle build jvmTest` produces no JUnit reports,
50- # so these two targets should be separated into separate steps.
51- - name : gradle jvmTest
52- uses : gradle/gradle-build-action@v2
53- if : ${{ always() }}
5437 with :
5538 gradle-version : wrapper
5639 # The `--continue` flag is necessary so that Gradle keeps going after the 1st test failure.
57- # The `jvmTest` target is needed for JUnit-style XML reports.
40+ # By default, when test for all MPP targets are executed, Kotlin Gradle Plugin generates a single aggregated HTML report.
41+ # Property `kotlin.tests.individualTaskReports` enables individual Junit-style XML reports.
42+ # See org.jetbrains.kotlin.gradle.testing.internal.KotlinTestReport.
5843 arguments : |
44+ build
5945 --continue
60- jvmTest
6146 -x detekt
47+ -Pkotlin.tests.individualTaskReports=true
6248 -Porg.gradle.caching=true
6349 -Pdetekt.multiplatform.disabled=true
6450 -PdisableRedundantTargets=true
You can’t perform that action at this time.
0 commit comments