Skip to content

Commit

Permalink
Merge branch 'main' into renovate/io.github.detekt.sarif4k-sarif4k-0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
fwendland authored Apr 3, 2024
2 parents 653daef + 7079558 commit f7a24af
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 874 deletions.
3 changes: 2 additions & 1 deletion buildSrc/src/main/kotlin/code-quality.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ tasks.jacocoTestReport {
// a merged report
tasks.withType<Detekt>().configureEach {
basePath = "${rootProject.projectDir.absolutePath}"
config.setFrom(files("$rootDir/detekt.yml"))
buildUponDefaultConfig = true
config.setFrom(rootDir.resolve("detekt.yml"))
}

// custom task for fixing formatting issues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ class CokoCpgIntegrationTest {
@MethodSource("threeFiles")
fun `test coko with cpg backend and permutation of three dependent spec files`(
specFiles: List<Path>,
@Suppress("detekt:style:UnusedParameter") // used for parameterized test names
fileNames: List<String>
) {
assertEquals(3, specFiles.size)
Expand Down Expand Up @@ -160,6 +161,7 @@ class CokoCpgIntegrationTest {
@MethodSource("fourFiles")
fun `test coko with cpg backend and permutation of four dependent spec files`(
specFiles: List<Path>,
@Suppress("detekt:style:UnusedParameter") // used for parameterized test names
fileNames: List<String>
) {
assertEquals(4, specFiles.size)
Expand Down Expand Up @@ -191,6 +193,7 @@ class CokoCpgIntegrationTest {
@MethodSource("fiveFiles")
fun `test coko with cpg backend and permutation of five dependent spec files`(
specFiles: List<Path>,
@Suppress("detekt:style:UnusedParameter") // used for parameterized test names
fileNames: List<String>
) {
assertEquals(5, specFiles.size)
Expand Down
Loading

0 comments on commit f7a24af

Please sign in to comment.