Skip to content

Commit

Permalink
update run-tess.sh/deps.edn to match ci multi-version tests
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Corfield <[email protected]>
  • Loading branch information
seancorfield committed Oct 4, 2024
1 parent a9355db commit 656eaec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
lib
multi-lib
target
.calva/repl.calva-repl
10 changes: 5 additions & 5 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -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"]}}}
4 changes: 2 additions & 2 deletions run-tests.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 656eaec

Please sign in to comment.