Skip to content

Commit

Permalink
just make check depend on bulkCdkIntegrationTest
Browse files Browse the repository at this point in the history
  • Loading branch information
edgao committed Oct 1, 2024
1 parent 9f0b366 commit b8aa176
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
gradle-distribution-sha-256-sum-warning: false
concurrent: true
# TODO: be able to remove the skipSlowTests property
arguments: --scan check :airbyte-cdk:bulk:bulkCdkIntegrationTest -DskipSlowTests=true
arguments: --scan check -DskipSlowTests=true

set-instatus-incident-on-failure:
name: Create Instatus Incident on Failure
Expand Down
6 changes: 4 additions & 2 deletions airbyte-cdk/bulk/core/load/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// simply declaring the source sets is sufficient to populate them with
// src/integrationTest/java+resources + src/integrationTest/kotlin.
sourceSets {
integrationTest {
}
}

kotlin {
sourceSets {
testIntegration {
Expand Down Expand Up @@ -31,8 +32,9 @@ task integrationTest(type: Test) {
useJUnitPlatform()
mustRunAfter tasks.check
}

configurations {
integrationTestImplementation.extendsFrom testImplementation
integrationTestRuntimeOnly.extendsFrom testRuntimeOnly
}
// These tests are lightweight enough to run on every PR.
rootProject.check.dependsOn(integrationTest)

0 comments on commit b8aa176

Please sign in to comment.