Skip to content

Commit

Permalink
Merge pull request #438 from lambdaisland/arne/disable-notifier-test-…
Browse files Browse the repository at this point in the history
…on-CI

Skip notifier hook test on CI
  • Loading branch information
plexus authored May 23, 2024
2 parents 129cec1 + 15e8b79 commit af3f847
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 af3f847

Please sign in to comment.