From 5e2fe77434299a061b3ea31de9e65aaae62e08a9 Mon Sep 17 00:00:00 2001 From: Ethan Atkins Date: Tue, 4 Aug 2020 13:34:20 -0700 Subject: [PATCH 1/2] Disable server tests on windows ci The server tests fail often which makes CI very painful. --- .appveyor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 0c3f595a1..bad54a126 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -155,4 +155,6 @@ for: - '%USERPROFILE%\.sbt' test_script: - - sbt "scripted actions/* classloader-cache/* nio/* watch/*" "serverTestProj/test" + # The server tests often fail in CI when run together so just run a single test to ensure + # that the thin client works on windows + - sbt "scripted actions/* classloader-cache/* nio/* watch/*" "serverTestProj/testOnly testpkg.ClientTest" From 3a9d3490657dd7db33cb62f916d0ebef4d7cb549 Mon Sep 17 00:00:00 2001 From: Ethan Atkins Date: Tue, 4 Aug 2020 17:08:30 -0700 Subject: [PATCH 2/2] Check server test project scalafmt on travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 31d026e20..dcf88b527 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ env: # WHITESOURCE_PASSWORD= - secure: d3bu2KNwsVHwfhbGgO+gmRfDKBJhfICdCJFGWKf2w3Gv86AJZX9nuTYRxz0KtdvEHO5Xw8WTBZLPb2thSJqhw9OCm4J8TBAVqCP0ruUj4+aqBUFy4bVexQ6WKE6nWHs4JPzPk8c6uC1LG3hMuzlC8RGETXtL/n81Ef1u7NjyXjs= matrix: - - SBT_CMD="mimaReportBinaryIssues ; javafmtCheck ; Test / javafmtCheck; scalafmtCheckAll ; scalafmtSbtCheck; headerCheck ;test:headerCheck ;whitesourceOnPush ;test:compile; publishLocal; test; serverTestProj/test; doc; $UTIL_TESTS; ++$SCALA_213; $UTIL_TESTS" + - SBT_CMD="mimaReportBinaryIssues ; javafmtCheck ; Test / javafmtCheck; scalafmtCheckAll ; scalafmtSbtCheck; serverTestProj/scalafmtCheckAll; headerCheck ;test:headerCheck ;whitesourceOnPush ;test:compile; publishLocal; test; serverTestProj/test; doc; $UTIL_TESTS; ++$SCALA_213; $UTIL_TESTS" - SBT_CMD="scripted actions/* apiinfo/* compiler-project/* ivy-deps-management/* reporter/* tests/* watch/* classloader-cache/* package/*" - SBT_CMD="scripted dependency-management/* plugins/* project-load/* java/* run/* nio/*" - SBT_CMD="repoOverrideTest:scripted dependency-management/*; scripted source-dependencies/* project/*"