restore clojure 1.10 testing
Signed-off-by: Sean Corfield <sean@corfield.org>
This commit is contained in:
parent
2214e06cfa
commit
0d7b3b60ed
6 changed files with 13 additions and 3 deletions
2
.github/workflows/test-and-release.yml
vendored
2
.github/workflows/test-and-release.yml
vendored
|
|
@ -33,6 +33,8 @@ jobs:
|
|||
run: docker compose up -d
|
||||
env:
|
||||
MYSQL_ROOT_PASSWORD: testing
|
||||
- name: Prep libs
|
||||
run: clojure -X:deps prep :aliases '[:test]'
|
||||
- name: Run MariaDB Tests
|
||||
run: clojure -M:test:runner:1.11
|
||||
env:
|
||||
|
|
|
|||
2
.github/workflows/test-and-snapshot.yml
vendored
2
.github/workflows/test-and-snapshot.yml
vendored
|
|
@ -31,6 +31,8 @@ jobs:
|
|||
run: docker compose up -d
|
||||
env:
|
||||
MYSQL_ROOT_PASSWORD: testing
|
||||
- name: Prep libs
|
||||
run: clojure -X:deps prep :aliases '[:test]'
|
||||
- name: Run MariaDB Tests
|
||||
run: clojure -M:test:runner:1.11
|
||||
env:
|
||||
|
|
|
|||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -31,6 +31,8 @@ jobs:
|
|||
run: docker compose up -d
|
||||
env:
|
||||
MYSQL_ROOT_PASSWORD: testing
|
||||
- name: Prep libs
|
||||
run: clojure -X:deps prep :aliases '[:test]'
|
||||
- name: Run MariaDB Tests
|
||||
run: clojure -M:test:runner:1.11
|
||||
env:
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
(def class-dir "target/classes")
|
||||
|
||||
(defn test "Run all the tests." [opts]
|
||||
(doseq [alias [#_:1.10 :1.11 :1.12]]
|
||||
(doseq [alias [:1.10 :1.11 :1.12]]
|
||||
(println "\nRunning tests for Clojure" (name alias))
|
||||
(let [basis (b/create-basis {:aliases [:test alias]})
|
||||
cmds (b/java-command
|
||||
|
|
|
|||
5
deps.edn
5
deps.edn
|
|
@ -18,7 +18,10 @@
|
|||
|
||||
;; running tests/checks of various kinds:
|
||||
:test {:extra-paths ["test"]
|
||||
:extra-deps {io.github.noahtheduke/lazytest {:mvn/version "1.5.0"}
|
||||
:extra-deps {io.github.noahtheduke/lazytest
|
||||
{:git/url "https://github.com/NoahTheDuke/lazytest/"
|
||||
:git/sha "4e4a746bed3eb5642b67d63117aef60954fe424f"}
|
||||
#_{:mvn/version "1.5.0"}
|
||||
org.clojure/test.check {:mvn/version "1.1.1"}
|
||||
;; connection pooling
|
||||
com.zaxxer/HikariCP {:mvn/version "6.2.1"}
|
||||
|
|
|
|||
|
|
@ -23,5 +23,6 @@
|
|||
(assoc "NEXT_JDBC_TEST_MARIADB" "yes")
|
||||
xtdb?
|
||||
(assoc "NEXT_JDBC_TEST_XTDB" "yes"))]
|
||||
(doseq [v (if all? [#_"1.10" "1.11" "1.12"] [nil])]
|
||||
(p/shell "clojure" "-X:deps" "prep" ":aliases" "[:test]")
|
||||
(doseq [v (if all? ["1.10" "1.11" "1.12"] [nil])]
|
||||
(run-tests env v)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue