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 all commits
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
9 changes: 7 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -1573,6 +1573,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 +1647,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 +1816,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 +1849,9 @@ 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"
)
.jvmPlatform(scalaVersions = scala2And3Versions)
.jsPlatform(
scalaVersions = scala2And3Versions,
Expand Down
Loading