Skip to content

Commit 12fe072

Browse files
committedJul 18, 2023
exclude generated code from codecov
1 parent e0f921f commit 12fe072

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![Last Release](https://img.shields.io/github/release-date/unittestbot/jacodb.svg?logo=github)](https://github.com/unittestbot/jacodb/releases/latest)
33
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
44
![Pure Java + Kotlin](https://img.shields.io/badge/100%25-java%2bkotlin-orange.svg)
5-
[![Coverage](./docs/badges/jacoco.svg)](https://github.com/UnitTestBot/jacodb/actions/workflows/coverage.yml)
5+
[![codecov](https://codecov.io/gh/UnitTestBot/jacodb/branch/develop/graph/badge.svg?token=KQ2IDRS0YP)](https://codecov.io/gh/UnitTestBot/jacodb)
66

77
## Overview
88

‎build.gradle.kts

+5
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ allprojects {
113113

114114
jacocoTestReport {
115115
dependsOn(test) // tests are required to run before generating the report
116+
classDirectories.setFrom(files(classDirectories.files.map {
117+
fileTree(it) {
118+
excludes.add("org/jacodb/impl/storage/jooq/**")
119+
}
120+
}))
116121
reports {
117122
xml.required.set(true)
118123
html.required.set(true)

0 commit comments

Comments
 (0)
Please sign in to comment.