Skip to content

Commit

Permalink
Skip notifier hook test on CI
Browse files Browse the repository at this point in the history
the notifier plugin never does anything on CI, causing this to fail
  • Loading branch information
plexus committed May 23, 2024
1 parent 0fef3a3 commit 15e8b79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/unit/kaocha/plugin/notifier_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 15e8b79

Please sign in to comment.