File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed
Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ phases:
3535 fi
3636
3737 - chmod +x gradlew
38- - su codebuild-user -c "./gradlew -PideProfileName=$ALTERNATIVE_IDE_PROFILE_NAME check coverageReport --info --console plain --continue"
38+ - su codebuild-user -c "./gradlew -PideProfileName=$ALTERNATIVE_IDE_PROFILE_NAME check testCodeCoverageReport --info --console plain --continue"
3939 - su codebuild-user -c "./gradlew -PideProfileName=$ALTERNATIVE_IDE_PROFILE_NAME buildPlugin"
4040 - VCS_COMMIT_ID="${CODEBUILD_RESOLVED_SOURCE_VERSION}"
4141 - CI_BUILD_URL=$(echo $CODEBUILD_BUILD_URL | sed 's/#/%23/g') # Encode `#` in the URL because otherwise the url is clipped in the Codecov.io site
Original file line number Diff line number Diff line change 1+ import kotlin.io.extension
2+
3+ // Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+ // SPDX-License-Identifier: Apache-2.0
5+
6+ plugins {
7+ base
8+ id(" jacoco-report-aggregation" )
9+ }
10+
11+ dependencies {
12+ jacocoAggregation(project(" :plugin-toolkit:intellij-standalone" ))
13+ jacocoAggregation(project(" :plugin-core" ))
14+ jacocoAggregation(project(" :plugin-amazonq" ))
15+
16+ project.findProject(" :plugin-toolkit:jetbrains-gateway" )?.let {
17+ jacocoAggregation(it)
18+ }
19+
20+ jacocoAggregation(project(" :ui-tests" ))
21+ }
22+
23+ reporting {
24+ reports {
25+ val testCodeCoverageReport by creating(JacocoCoverageReport ::class ) {
26+ testType = TestSuiteType .UNIT_TEST
27+ }
28+ }
29+ }
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ include("detekt-rules")
9898include(" ui-tests" )
9999include(" sandbox-all" )
100100include(" ui-tests-starter" )
101+ include(" coverage-report" )
101102when (providers.gradleProperty(" ideProfileName" ).get()) {
102103 // FIX_WHEN_MIN_IS_242: `tmp-all` test module no longer needed in 242+
103104 " 2023.3" , " 2024.1" -> {
You can’t perform that action at this time.
0 commit comments