summaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2018-12-14 18:02:44 -0800
committerGeorge Fraser <george@fivetran.com>2018-12-14 18:02:44 -0800
commit51d45e0122f6c9dde7e245c5318e3d7fbff1be01 (patch)
treee17d4ef19d9efa9773a26482102636e534d11728 /.circleci
parentb565e8e7dbb19806a40484738f9c24b063c81289 (diff)
downloadjava-language-server-51d45e0122f6c9dde7e245c5318e3d7fbff1be01.zip
Move test script to its own file
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml21
-rw-r--r--.circleci/test.sh20
2 files changed, 21 insertions, 20 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index b6b7b7b..415a76a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -40,25 +40,6 @@ jobs:
- run: mvn compile test-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
+ - run: ./circleci/test.sh
diff --git a/.circleci/test.sh b/.circleci/test.sh
new file mode 100644
index 0000000..4bf9c3d
--- /dev/null
+++ b/.circleci/test.sh
@@ -0,0 +1,20 @@
+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 \ No newline at end of file