From 656eaecdc702d5d843351358f227120ffc15276f Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Fri, 4 Oct 2024 15:47:06 -0700 Subject: [PATCH] update run-tess.sh/deps.edn to match ci multi-version tests Signed-off-by: Sean Corfield --- .gitignore | 1 + deps.edn | 10 +++++----- run-tests.sh | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 640e299..831a568 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ lib multi-lib target +.calva/repl.calva-repl diff --git a/deps.edn b/deps.edn index 667e32f..78923a8 100644 --- a/deps.edn +++ b/deps.edn @@ -1,17 +1,17 @@ ;; You can run clojure.core.memoize tests with: clj -A:test:runner ;; You can also specify an alias to select which version of Clojure to test -;; against: :1.6 :1.7 :1.8 :1.9 :master +;; against: :1.9 :1.10 :1.11 :1.12 {:paths ["src/main/clojure"] :deps {org.clojure/core.cache {:mvn/version "1.1.234"}} - :aliases {:1.8 {:override-deps {org.clojure/clojure {:mvn/version "1.8.0"}}} - :1.9 {:override-deps {org.clojure/clojure {:mvn/version "1.9.0"}}} + :aliases {:1.9 {:override-deps {org.clojure/clojure {:mvn/version "1.9.0"}}} :1.10 {:override-deps {org.clojure/clojure {:mvn/version "1.10.3"}}} - :master {:override-deps {org.clojure/clojure {:mvn/version "1.11.0-master-SNAPSHOT"}}} + :1.11 {:override-deps {org.clojure/clojure {:mvn/version "1.11.4"}}} + :1.12 {:override-deps {org.clojure/clojure {:mvn/version "1.12.0"}}} :test {:extra-paths ["src/test/clojure"] :extra-deps {org.clojure/test.check {:mvn/version "1.1.1"} io.github.cognitect-labs/test-runner - {:git/tag "v0.4.0" :git/sha "334f2e2"}} + {:git/tag "v0.5.1" :git/sha "dfb30dd"}} :main-opts ["-m" "cognitect.test-runner" "-d" "src/test/clojure"]}}} diff --git a/run-tests.sh b/run-tests.sh index 351e984..8d255fb 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -1,8 +1,8 @@ #!/bin/sh -versions="1.8 1.9 1.10 master" +versions="1.9 1.10 1.11 1.12" for v in $versions do - time clj -M:test:$v + time clojure -M:test:$v if test $? != 0; then exit 1; fi done