From fe6fd406a032324e55d2e4acead3c2f3e8a1f9da Mon Sep 17 00:00:00 2001 From: Vladimir Logachev Date: Fri, 13 Sep 2024 16:32:21 +0400 Subject: [PATCH] Add dependency on node-testkit; run tests with GH Actions --- .github/workflows/check-pr.yml | 2 +- build.sbt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 65d28893..3c3b2246 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -14,4 +14,4 @@ jobs: java-version: '11' cache: 'sbt' - name: Check PR - run: sbt --batch "compile" + run: sbt --batch "compile;test" diff --git a/build.sbt b/build.sbt index d0bf068b..f521ea84 100644 --- a/build.sbt +++ b/build.sbt @@ -13,7 +13,8 @@ name := "consensus-client" maintainer := "Units Network Team" resolvers ++= Resolver.sonatypeOssRepos("releases") ++ Resolver.sonatypeOssRepos("snapshots") ++ Seq(Resolver.mavenLocal) libraryDependencies ++= Seq( - "com.wavesplatform" % "node" % "1.5.7" % "provided", + "com.wavesplatform" % "node-testkit" % "1.5.7-3964-SNAPSHOT" % "test", + "com.wavesplatform" % "node" % "1.5.7-3964-SNAPSHOT" % "provided", "com.softwaremill.sttp.client3" % "core_2.13" % "3.9.8", "com.softwaremill.sttp.client3" %% "play-json" % "3.9.8", "com.github.jwt-scala" %% "jwt-play-json" % "10.0.1"