Skip to content

Commit 3c01647

Browse files
committed
unit tests: add Clojure 1.11 alpha testing
1 parent 5fc0f9e commit 3c01647

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

deps.edn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
:1.8 {:override-deps {org.clojure/clojure {:mvn/version "1.8.0"}}}
1010
:1.9 {:override-deps {org.clojure/clojure {:mvn/version "1.9.0"}}}
1111
:1.10 {:override-deps {org.clojure/clojure {:mvn/version "1.10.3"}}}
12+
;; We also test against
13+
:1.11 {:override-deps {org.clojure/clojure {:mvn/version "1.11.0-alpha4"}}}
1214

1315
;;
1416
;; ClojureScript version we test with (and support)

script/ci_unit_tests.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
(shell/command "bb test-doc"))
2222

2323
(defn clojure-tests []
24-
(doseq [version ["1.8" "1.9" "1.10"]]
24+
(doseq [version ["1.8" "1.9" "1.10" "1.11"]]
2525
(shell/command "bb test-clj --clojure-version" version)) )
2626

2727
(defn cljs-tests []

script/test_clj.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[helper.shell :as shell]
66
[lread.status-line :as status]))
77

8-
(def allowed-clojure-versions '("1.8" "1.9" "1.10"))
8+
(def allowed-clojure-versions '("1.8" "1.9" "1.10" "1.11"))
99

1010
(defn run-unit-tests [clojure-version]
1111
(status/line :head (str "testing clojure source against clojure v" clojure-version))
@@ -28,7 +28,7 @@
2828
(def args-usage "Valid args: [options]
2929
3030
Options:
31-
-v, --clojure-version VERSION Test with Clojure [1.8, 1.9, 1.10] [default: 1.10]
31+
-v, --clojure-version VERSION Test with Clojure [1.8, 1.9, 1.10, 1.11] [default: 1.10]
3232
--help Show this help")
3333

3434
(defn -main [& args]

0 commit comments

Comments
 (0)