From 2650a00ad97fc0415512c251b602c3dbf8f9f318 Mon Sep 17 00:00:00 2001 From: Ruediger Gad Date: Sun, 31 Dec 2023 18:02:57 +0100 Subject: [PATCH] Disable cloverage, for now. Something in the code coverage instrumentation seems not to work jointly with Java Interop and classloading: actual: java.lang.LinkageError: loader constraint violation: when resolving method 'java.lang.AutoCloseable bowerick.JmsController.createJsonConsumer(java.lang.String, java.lang.String, bowerick.JmsConsumerCallback, int)' the class loader clojure.lang.DynamicClassLoader @3df99d5e of the current class, bowerick/test/java_interop$fn__5146, and the class loader 'app' for the method's defining class, bowerick/JmsController, have different Class objects for the type bowerick/JmsConsumerCallback used in the signature (bowerick.test.java_interop$fn__5146 is in unnamed module of loader clojure.lang.DynamicClassLoader @3df99d5e, parent loader clojure.lang.DynamicClassLoader @5d95c7c2; bowerick.JmsController is in unnamed module of loader 'app') at bowerick.test.java_interop$fn__5146.invokeStatic (java_interop.clj:96) --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7e2d444..e993140 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,8 +22,9 @@ jobs: paths: - ~/.m2 key: v1-dependencies-{{ checksum "project.clj" }} - - run: 'lein cloverage -t "bowerick.test.*" -e "bowerick.JmsController"' - - coveralls/upload + - run: 'lein test' +# - run: 'lein cloverage -t "bowerick.test.*" -e "bowerick.JmsController"' +# - coveralls/upload workflows: run_tests: