Author SHA1 Message Date
magnus f08e5f02f1 Run Clojure tests in the Actions runner container
pull-request / validate (pull_request) Successful in 2m30s
2026-09-18 15:53:08 +02:00
magnus e1b2188495 Add reviewed container release workflow
pull-request / validate (pull_request) Failing after 19s
2026-09-18 15:51:45 +02:00
3 changed files with 3 additions and 14 deletions
-7
View File
@@ -3,13 +3,6 @@
:deps {org.clojure/clojure {:mvn/version "1.12.3"} :deps {org.clojure/clojure {:mvn/version "1.12.3"}
;; Security overrides for transitive web/runtime dependencies.
com.fasterxml.jackson.core/jackson-core {:mvn/version "2.21.4"}
com.fasterxml.jackson.core/jackson-databind {:mvn/version "2.21.4"}
io.undertow/undertow-core {:mvn/version "2.3.21.Final"}
org.jboss.xnio/xnio-api {:mvn/version "3.8.14.Final"}
org.jboss.xnio/xnio-nio {:mvn/version "3.8.14.Final"}
;; Routing ;; Routing
metosin/reitit {:mvn/version "0.9.2"} metosin/reitit {:mvn/version "0.9.2"}
+2 -5
View File
@@ -19,12 +19,9 @@
;; log uncaught exceptions in threads ;; log uncaught exceptions in threads
(Thread/setDefaultUncaughtExceptionHandler (Thread/setDefaultUncaughtExceptionHandler
(fn [thread ex] (fn [thread ex]
;; Integrant exceptions include component configuration in ex-data. Logging
;; the exception object can therefore disclose database or cookie secrets.
(log/error {:what :uncaught-exception (log/error {:what :uncaught-exception
:exception-class (.getName (class ex)) :exception ex
:message (.getMessage ex) :where (str "Uncaught exception on" (.getName thread))})))
:where (str "Uncaught exception on " (.getName thread))})))
(defonce system (atom nil)) (defonce system (atom nil))
-1
View File
@@ -3,6 +3,5 @@
[clojure.test :refer [deftest is]] [clojure.test :refer [deftest is]]
[pmagnus.elprice.core :as core])) [pmagnus.elprice.core :as core]))
(deftest system-state-is-managed-in-an-atom (deftest system-state-is-managed-in-an-atom
(is (instance? clojure.lang.Atom core/system))) (is (instance? clojure.lang.Atom core/system)))