From 15e8b7917ec2d7cd32f588e593b0162bab817e15 Mon Sep 17 00:00:00 2001 From: Arne Brasseur Date: Thu, 23 May 2024 08:27:57 +0200 Subject: [PATCH] Skip notifier hook test on CI the notifier plugin never does anything on CI, causing this to fail --- test/unit/kaocha/plugin/notifier_test.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/unit/kaocha/plugin/notifier_test.clj b/test/unit/kaocha/plugin/notifier_test.clj index 043fe926..924f2d64 100644 --- a/test/unit/kaocha/plugin/notifier_test.clj +++ b/test/unit/kaocha/plugin/notifier_test.clj @@ -99,7 +99,9 @@ (is (match? {::n/notifications? false} (n/notifier-config-hook {:kaocha/cli-options {:notifications false}})))) -(deftest notifier-post-run-hook-test +(deftest + ^{:kaocha/skip (= "true" (System/getenv "CI"))} + notifier-post-run-hook-test (let [gen-file-name #(str (System/getProperty "java.io.tmpdir") (System/getProperty "file.separator") (gensym (str (namespace `_) "-" (rand-int 10000)))) f1 (gen-file-name)