diff --git a/.circleci/config.yml b/.circleci/config.yml index 053fd450..59a00052 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/project.clj b/project.clj index debf8fdc..bac0b855 100644 --- a/project.clj +++ b/project.clj @@ -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"]