diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index a93fac7b..93cef60f 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -39,6 +39,9 @@ jobs: - name: Code style check, compilation and binary-compatibility check run: sbt "scalafmtCheckAll;headerCheckAll;+Test/compile;+IntegrationTest/compile;mimaReportBinaryIssues" + - name: Code style check, compilation for integration tests + run: sbt "akka-management-integration/scalafmtCheckAll;akka-management-integration/headerCheckAll;+akka-management-integration/Test/compile" + check-docs: name: Check Docs runs-on: ubuntu-22.04 diff --git a/build.sbt b/build.sbt index 19c40ade..62188f0a 100644 --- a/build.sbt +++ b/build.sbt @@ -26,14 +26,6 @@ lazy val `akka-management-root` = project `akka-management-pki`, `loglevels-logback`, `loglevels-log4j2`, - `integration-test-aws-api-ec2-tag-based`, - `integration-test-local`, - `integration-test-aws-api-ecs`, - `integration-test-kubernetes-api`, - `integration-test-kubernetes-api-java`, - `integration-test-kubernetes-dns`, - `integration-test-marathon-api-docker`, - `integration-test-rolling-update-kubernetes`, `cluster-http`, `cluster-bootstrap`, `rolling-update-kubernetes`, @@ -46,6 +38,22 @@ lazy val `akka-management-root` = project publish / skip := true ) +// integration tests separated so they don't run on `test` in root project +// also, none of these are published artifacts +lazy val `akka-management-integration` = project + .in(file("integration-test")) + .disablePlugins(MimaPlugin, com.geirsson.CiReleasePlugin) + .aggregate( + `integration-test-aws-api-ec2-tag-based`, + `integration-test-local`, + `integration-test-aws-api-ecs`, + `integration-test-kubernetes-api`, + `integration-test-kubernetes-api-java`, + `integration-test-kubernetes-dns`, + `integration-test-marathon-api-docker`, + `integration-test-rolling-update-kubernetes` + ) + lazy val mimaPreviousArtifactsSet = mimaPreviousArtifacts := Set( organization.value %% name.value % previousStableVersion.value.getOrElse(