Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't publish artifacts for tests #3652

Merged
merged 3 commits into from
Apr 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,8 @@ lazy val tests: ProjectMatrix = (projectMatrix in file("tests"))
scalaTest.value,
"org.typelevel" %%% "cats-effect" % Versions.catsEffect,
logback
)
),
publishArtifact := false
kciesielski marked this conversation as resolved.
Show resolved Hide resolved
)
.jvmPlatform(scalaVersions = scala2And3Versions)
.jsPlatform(
Expand Down Expand Up @@ -1205,7 +1206,8 @@ lazy val serverTests: ProjectMatrix = (projectMatrix in file("server/tests"))
name := "tapir-server-tests",
libraryDependencies ++= Seq(
"com.softwaremill.sttp.client3" %% "fs2" % Versions.sttp
)
),
publishArtifact := false
kciesielski marked this conversation as resolved.
Show resolved Hide resolved
)
.dependsOn(tests, sttpStubServer, enumeratum)
.jvmPlatform(scalaVersions = scala2And3Versions)
Expand Down Expand Up @@ -1573,6 +1575,7 @@ lazy val awsLambdaZioTests: ProjectMatrix = (projectMatrix in file("serverless/a
.settings(commonJvmSettings)
.settings(
name := "tapir-aws-lambda-zio-tests",
publishArtifact := false,
assembly / assemblyJarName := "tapir-aws-lambda-zio-tests.jar",
assembly / test := {}, // no tests before building jar
assembly / assemblyMergeStrategy := {
Expand Down Expand Up @@ -1646,6 +1649,7 @@ lazy val awsLambdaCatsEffectTests: ProjectMatrix = (projectMatrix in file("serve
.settings(commonJvmSettings)
.settings(
name := "tapir-aws-lambda-cats-effect-tests",
publishArtifact := false,
assembly / assemblyJarName := "tapir-aws-lambda-cats-effect-tests.jar",
assembly / test := {}, // no tests before building jar
assembly / assemblyMergeStrategy := {
Expand Down Expand Up @@ -1814,7 +1818,8 @@ lazy val awsExamples: ProjectMatrix = (projectMatrix in file("serverless/aws/exa
name := "tapir-aws-examples",
libraryDependencies ++= Seq(
"com.softwaremill.sttp.client3" %%% "cats" % Versions.sttp
)
),
publishArtifact := false
)
.jvmPlatform(
scalaVersions = scala2Versions,
Expand Down Expand Up @@ -1846,7 +1851,10 @@ lazy val awsExamples2_13 = awsExamples.jvm(scala2_13).dependsOn(awsSam.jvm(scala

lazy val clientTests: ProjectMatrix = (projectMatrix in file("client/tests"))
.settings(commonJvmSettings)
.settings(name := "tapir-client-tests")
.settings(
name := "tapir-client-tests",
publishArtifact := false
kciesielski marked this conversation as resolved.
Show resolved Hide resolved
)
.jvmPlatform(scalaVersions = scala2And3Versions)
.jsPlatform(
scalaVersions = scala2And3Versions,
Expand Down
Loading