diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2d9fc98..d509c2d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,4 +46,5 @@ jobs: with: skip-test: ${{ github.event.inputs.skip-test == 'true' }} kestra-version: ${{ github.event.inputs.kestra-version }} + java-version: '25' secrets: inherit diff --git a/build.gradle b/build.gradle index 0c2a6d5..b8d86b7 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,7 @@ repositories { } } -final targetJavaVersion = JavaVersion.VERSION_21 +final targetJavaVersion = JavaVersion.VERSION_25 java { sourceCompatibility = targetJavaVersion @@ -94,6 +94,7 @@ dependencies { testImplementation group: "io.kestra", name: "repository-memory", version: kestraVersion testImplementation group: "io.kestra", name: "runner-memory", version: kestraVersion testImplementation group: "io.kestra", name: "storage-local", version: kestraVersion + testImplementation group: "io.kestra", name: "indexer", version: kestraVersion // test testImplementation "org.junit.jupiter:junit-jupiter-engine" @@ -101,29 +102,6 @@ dependencies { testImplementation "org.hamcrest:hamcrest-library" } -/**********************************************************************************************************************\ - * Allure Reports - **********************************************************************************************************************/ -dependencies { - testImplementation enforcedPlatform("io.kestra:platform:$kestraVersion") - testImplementation "io.qameta.allure:allure-junit5" -} - -configurations { - agent { - canBeResolved = true - canBeConsumed = true - } -} - -dependencies { - agent "org.aspectj:aspectjweaver:1.9.25.1" -} - -test { - jvmArgs = [ "-javaagent:${configurations.agent.singleFile}" ] -} - /**********************************************************************************************************************\ * Jacoco **********************************************************************************************************************/ diff --git a/gradle.properties b/gradle.properties index ea9079b..7ff69dd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ version=1.2.3-SNAPSHOT -kestraVersion=1.2.5 +kestraVersion=2.0.0-SNAPSHOT diff --git a/src/test/resources/allure.properties b/src/test/resources/allure.properties deleted file mode 100644 index 4873f6d..0000000 --- a/src/test/resources/allure.properties +++ /dev/null @@ -1 +0,0 @@ -allure.results.directory=build/allure-results diff --git a/src/test/resources/application.yml b/src/test/resources/application.yml index 636ef67..919190e 100644 --- a/src/test/resources/application.yml +++ b/src/test/resources/application.yml @@ -7,3 +7,9 @@ kestra: type: local local: base-path: /tmp/unittest + worker: + controllers: + type: STATIC + static: + endpoints: + - host: localhost