Skip to content

Commit 15e8b79

Browse files
committed
Skip notifier hook test on CI
the notifier plugin never does anything on CI, causing this to fail
1 parent 0fef3a3 commit 15e8b79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/unit/kaocha/plugin/notifier_test.clj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@
9999
(is (match? {::n/notifications? false}
100100
(n/notifier-config-hook {:kaocha/cli-options {:notifications false}}))))
101101

102-
(deftest notifier-post-run-hook-test
102+
(deftest
103+
^{:kaocha/skip (= "true" (System/getenv "CI"))}
104+
notifier-post-run-hook-test
103105
(let [gen-file-name #(str (System/getProperty "java.io.tmpdir") (System/getProperty "file.separator")
104106
(gensym (str (namespace `_) "-" (rand-int 10000))))
105107
f1 (gen-file-name)

0 commit comments

Comments
 (0)