PoC: Attempt to enable parallel execution on CI now that we have github ac… (#2396)

* Attempt to enable parallel execution on CI now that we have github actions

* Try removing 'testWithDbSettings' to simplify build
This commit is contained in:
Chris Stewart 2020-12-19 17:00:30 -06:00 committed by GitHub
parent 0f037f3fb9
commit 719ccbe932
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 13 deletions

View file

@ -313,7 +313,7 @@ lazy val chain = project
lazy val chainTest = project
.in(file("chain-test"))
.settings(CommonSettings.testWithDbSettings: _*)
.settings(CommonSettings.testSettings: _*)
.settings(chainDbSettings: _*)
.settings(
name := "bitcoin-s-chain-test",
@ -411,7 +411,7 @@ lazy val node =
lazy val nodeTest =
project
.in(file("node-test"))
.settings(CommonSettings.testWithDbSettings: _*)
.settings(CommonSettings.testSettings: _*)
.settings(nodeDbSettings: _*)
.settings(
name := "bitcoin-s-node-test",
@ -492,7 +492,7 @@ lazy val wallet = project
lazy val walletTest = project
.in(file("wallet-test"))
.settings(CommonSettings.testWithDbSettings: _*)
.settings(CommonSettings.testSettings: _*)
.settings(walletDbSettings: _*)
.settings(
name := "bitcoin-s-wallet-test",

View file

@ -65,9 +65,7 @@ object CommonSettings {
Seq("-source", "1.8", "-target", "1.8")
}
},
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),
// Travis has performance issues on macOS
Test / parallelExecution := !(Properties.isMac && isCI)
licenses += ("MIT", url("http://opensource.org/licenses/MIT"))
)
private val commonCompilerOpts = {
@ -118,13 +116,6 @@ object CommonSettings {
publish / skip := true
) ++ settings
lazy val testWithDbSettings: Seq[Setting[_]] = Seq(
// To make in-memory DBs work properly
Test / fork := false,
// To avoid deadlock issues with SQLite
Test / parallelExecution := true
) ++ testSettings
lazy val prodSettings: Seq[Setting[_]] = settings
lazy val binariesPath =