Two issues:
- there is no artifact called 1.11.0-master-SNAPSHOT
- it uses -A to invoke with main-opts
❯ ./run-tests.sh
[valid output]
...
Error building classpath. Could not find artifact org.clojure:clojure:jar:1.11.0-master-SNAPSHOT in central (https://repo1.maven.org/maven2/)
real 0m1.932s
user 0m2.018s
sys 0m0.132s
and
WARNING: Use of :main-opts with -A is deprecated. Use -M instead.
Running tests in #{"src/test/clojure"}
Testing with Clojure 1.10.1
Testing clojure.core.unify-test
Ran 12 tests containing 51 assertions.
0 failures, 0 errors.
The following patch quickly fixes both
diff --git a/deps.edn b/deps.edn
index d87033c..4d96956 100644
--- a/deps.edn
+++ b/deps.edn
@@ -7,7 +7,8 @@
:1.8 {:override-deps {org.clojure/clojure {:mvn/version "1.8.0"}}}
:1.9 {:override-deps {org.clojure/clojure {:mvn/version "1.9.0"}}}
:1.10 {:override-deps {org.clojure/clojure {:mvn/version "1.10.1"}}}
- :master {:override-deps {org.clojure/clojure {:mvn/version "1.11.0-master-SNAPSHOT"}}}
+ :1.11 {:override-deps {org.clojure/clojure {:mvn/version "1.11.1"}}}
+ :1.12 {:override-deps {org.clojure/clojure {:mvn/version "1.12.0"}}}
:runner
{:extra-deps {com.cognitect/test-runner
{:git/url "https://github.com/cognitect-labs/test-runner"
diff --git a/run-tests.sh b/run-tests.sh
index d0674d4..198907a 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-versions="1.6 1.7 1.8 1.9 1.10 master"
+versions="1.6 1.7 1.8 1.9 1.10 1.11 1.12"
for v in $versions
do
- time clj -A:test:runner:$v
+ time clj -M:test:runner:$v
done