-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
32 lines (23 loc) · 1.01 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import _root_.io.github.nafg.mergify.dsl.*
ThisBuild / scalaVersion := "2.13.15"
ThisBuild / scalacOptions += "-Xsource:3"
mergifyExtraConditions := Seq(
(Attr.Author :== "scala-steward") ||
(Attr.Author :== "slick-scala-steward[bot]") ||
(Attr.Author :== "renovate[bot]")
)
libraryDependencies ++= List(
"com.github.sbt" % "junit-interface" % "0.13.3" % Test,
"ch.qos.logback" % "logback-classic" % "1.5.12" % Test,
"org.postgresql" % "postgresql" % "42.7.4" % Test
)
scalacOptions += "-deprecation"
Test / parallelExecution := false
logBuffered := false
run / fork := true
testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v", "-s", "-a")
libraryDependencies += "com.typesafe.slick" %% "slick-testkit" % "3.5.2"
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11"))
ThisBuild / githubWorkflowBuildPreamble +=
WorkflowStep.Run(List("docker compose up -d"), name = Some("Start database"))