mirror of
				https://github.com/JetBrains/intellij-platform-plugin-template.git
				synced 2025-06-13 13:04:09 +00:00 
			
		
		
		
	(🎁) Adopt kotlinx-kover
This commit is contained in:
		
							parent
							
								
									b9899689ae
								
							
						
					
					
						commit
						4921c83f03
					
				
							
								
								
									
										8
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @ -77,7 +77,7 @@ jobs: | ||||
| 
 | ||||
|       # Run tests | ||||
|       - name: Run Tests | ||||
|         run: ./gradlew test | ||||
|         run: ./gradlew check | ||||
| 
 | ||||
|       # Collect Tests Result of failed tests | ||||
|       - name: Collect Tests Result | ||||
| @ -87,6 +87,12 @@ jobs: | ||||
|           name: tests-result | ||||
|           path: ${{ github.workspace }}/build/reports/tests | ||||
| 
 | ||||
|       # Upload Kover report to CodeCov | ||||
|       - uses: codecov/codecov-action@v3 | ||||
|         with: | ||||
|           files: ${{ github.workspace }}/build/reports/kover/xml/report.xml | ||||
|           fail_ci_if_error: true | ||||
| 
 | ||||
|       # Cache Plugin Verifier IDEs | ||||
|       - name: Setup Plugin Verifier IDEs Cache | ||||
|         uses: actions/cache@v3 | ||||
|  | ||||
| @ -13,6 +13,8 @@ plugins { | ||||
|     id("org.jetbrains.changelog") version "1.3.1" | ||||
|     // Gradle Qodana Plugin | ||||
|     id("org.jetbrains.qodana") version "0.1.13" | ||||
|     // Gradle Kover Plugin | ||||
|     id("org.jetbrains.kotlinx.kover") version "0.6.0" | ||||
| } | ||||
| 
 | ||||
| group = properties("pluginGroup") | ||||
| @ -54,6 +56,11 @@ qodana { | ||||
|     showReport.set(System.getenv("QODANA_SHOW_REPORT")?.toBoolean() ?: false) | ||||
| } | ||||
| 
 | ||||
| // Configure Gradle Kover Plugin - read more: https://github.com/Kotlin/kotlinx-kover#configuration | ||||
| kover.xmlReport { | ||||
|     onCheck.set(true) | ||||
| } | ||||
| 
 | ||||
| tasks { | ||||
|     wrapper { | ||||
|         gradleVersion = properties("gradleVersion") | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user