Skip to content

Commit

Permalink
test: use a fixed 1.0.0-dev-master-SNAPSHOT driver version when testi…
Browse files Browse the repository at this point in the history
…ng with sbt rather than replacing build.sbt every time
  • Loading branch information
vlsi committed Dec 5, 2023
1 parent 1492c98 commit 244f4c0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ jobs:
# curl -L -o $HOME/.sbt/launchers/0.13.12/sbt-launch.jar http://dl.bintray.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.12/sbt-launch.jar
cd test-anorm-sbt
sed -i "s/\"org.postgresql\" % \"postgresql\" % \"[^\"]*\"/\"org.postgresql\" % \"postgresql\" % \"1.0.0-dev-master-SNAPSHOT\"/" build.sbt
sbt test
- name: Cleanup Docker
Expand Down
1 change: 0 additions & 1 deletion .travis/travis_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ then
curl -L -o $HOME/.sbt/launchers/0.13.12/sbt-launch.jar http://dl.bintray.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.12/sbt-launch.jar

cd test-anorm-sbt
sed -i "s/\"org.postgresql\" % \"postgresql\" % \"[^\"]*\"/\"org.postgresql\" % \"postgresql\" % \"1.0.0-dev-master-SNAPSHOT\"/" build.sbt
sbt test

cd ..
Expand Down
2 changes: 1 addition & 1 deletion test-anorm-sbt/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lazy val root = project
libraryDependencies ++= Seq(
jdbc,
"com.typesafe.play" %% "anorm" % "2.5.3",
"org.postgresql" % "postgresql" % "9.4.1210",
"org.postgresql" % "postgresql" % "1.0.0-dev-master-SNAPSHOT",
"org.scalatestplus" %% "play" % "1.4.0" % "test"
)
)
Expand Down

0 comments on commit 244f4c0

Please sign in to comment.