Merge pull request #72 from metosin/test-output

Upgrade to bat-test and make Circle test summaries work
This commit is contained in:
Miikka Koskinen 2018-03-13 10:51:21 +02:00 committed by GitHub
commit 61bcc4a723
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -17,7 +17,9 @@ jobs:
name: Run tests
command: ./scripts/test.sh clj
- store_test_results:
path: ~/test/target/junit.xml
# path must be a directory under which there a subdirectories that
# contain the JUnit XML files.
path: ~/test/target/results
# - run:
# name: Run coverage
# command: ./scripts/submit-to-coveralls.sh clj

View file

@ -24,7 +24,7 @@
[lein-cljsbuild "1.1.7"]
[lein-cloverage "1.0.10"]
[lein-codox "0.10.3"]
[metosin/boot-alt-test "0.4.0-20171019.180106-3"]]
[metosin/bat-test "0.4.0"]]
:profiles {:dev {:jvm-opts ^:replace ["-server"]
@ -70,14 +70,14 @@
"-XX:+PrintInlining"]}}
:aliases {"all" ["with-profile" "dev"]
"perf" ["with-profile" "default,dev,perf"]
"test-clj" ["all" "do" ["alt-test"] ["check"]]
"test-clj" ["all" "do" ["bat-test"] ["check"]]
"test-browser" ["doo" "chrome-headless" "test"]
"test-advanced" ["doo" "chrome-headless" "advanced-test"]
"test-node" ["doo" "node" "node-test"]}
:alt-test {:report [:pretty
:bat-test {:report [:pretty
{:type :junit
:output-to "target/junit.xml"}]}
:output-to "target/results/reitit/junit.xml"}]}
:cljsbuild {:builds [{:id "test"
:source-paths ["src" "test/cljc" "test/cljs"]