summaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2018-12-14 17:40:07 -0800
committerGeorge Fraser <george@fivetran.com>2018-12-14 17:40:07 -0800
commit68a5709d6407474b992d24138a6be69339e7c299 (patch)
tree1f0b2337079aad55d13752b4b6b833aafbbba303 /.circleci
parent794182af3cdaedebd54ddafc8daa94cf026704f7 (diff)
downloadjava-language-server-68a5709d6407474b992d24138a6be69339e7c299.zip
Run JUnit manually
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml25
1 files changed, 23 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 44ae679..0105f35 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -38,6 +38,27 @@ jobs:
- ~/.m2
key: v1-dependencies-{{ checksum "pom.xml" }}
- # run tests!
- - run: mvn integration-test
+ - run: mvn compile
+ - run: mvn dependency:build-classpath -DincludeScope=test -Dmdep.outputFile=cp.txt
+ - run: java -cp $(cat cp.txt):$(pwd)/target/classes:$(pwd)/target/test-classes org.junit.runner.JUnitCore \
+ org.javacs.ArtifactTest \
+ org.javacs.ClassesTest \
+ org.javacs.CodeLensTest \
+ org.javacs.CompletionsScopesTest \
+ org.javacs.CompletionsTest \
+ org.javacs.DocsTest \
+ org.javacs.FindReferencesTest \
+ org.javacs.GotoTest \
+ org.javacs.InferBazelConfigTest \
+ org.javacs.InferConfigTest \
+ org.javacs.JavaCompilerServiceTest \
+ org.javacs.ParserFixImportsTest \
+ org.javacs.ParserTest \
+ org.javacs.PrunerTest \
+ org.javacs.SearchTest \
+ org.javacs.SignatureHelpTest \
+ org.javacs.SymbolUnderCursorTest \
+ org.javacs.TipFormatterTest \
+ org.javacs.UrlsTest
+