Skip to content

Commit af3f847

Browse files
authored
Merge pull request #438 from lambdaisland/arne/disable-notifier-test-on-CI
Skip notifier hook test on CI
2 parents 129cec1 + 15e8b79 commit af3f847

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)