File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 12
12
strategy :
13
13
matrix :
14
14
# Supported Java versions: LTS releases and latest
15
- jdk : [8, 11, 17, 21, 23]
15
+ jdk : [8, 11, 17, 21]
16
+ clojure : [11, 12]
16
17
17
- name : Java ${{ matrix.jdk }}
18
+ name : Clojure ${{ matrix.clojure }} ( Java ${{ matrix.jdk }})
18
19
19
20
runs-on : ubuntu-latest
20
21
@@ -30,16 +31,16 @@ jobs:
30
31
path : |
31
32
~/.m2/repository
32
33
~/.gitlibs
33
- key : ${{ runner.os }}-test-deps-${{ hashFiles('**/deps.edn') }}-${{ matrix.jdk }}
34
+ key : ${{ runner.os }}-test-deps-${{ hashFiles('**/deps.edn') }}-${{ matrix.clojure }}-${{ matrix. jdk }}
34
35
restore-keys : |
35
- ${{ runner.os }}-test-deps-${{ hashFiles('**/deps.edn') }}-
36
+ ${{ runner.os }}-test-deps-${{ hashFiles('**/deps.edn') }}-${{ matrix.clojure }}-
36
37
${{ runner.os }}-test-deps-
37
38
- name : Setup Clojure
38
39
uses : DeLaGuardo/setup-clojure@master
39
40
with :
40
41
cli : latest
41
42
- name : Run tests
42
- run : bin/kaocha
43
+ run : CLOJURE_ALIAS=clojure-${{ matrix.clojure }} bin/kaocha
43
44
44
45
build-cljs :
45
46
name : ClojureScript
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- clojure -M:test -m kaocha.runner " $@ "
2
+ # Should work if the env var is empty
3
+ clojure -M:test:$CLOJURE_ALIAS -m kaocha.runner " $@ "
Original file line number Diff line number Diff line change 26
26
com.bhauman/spell-spec {:mvn/version " 0.1.2" }
27
27
org.clojure/spec-alpha2 {:git/url " https://github.com/clojure/spec-alpha2.git"
28
28
:sha " 4cbfa677c4cd66339f18e1c122222c05c69e0d8e" }}}
29
+ :clojure-11 {:extra-deps {org.clojure/clojure {:mvn/version " 1.11.3" }}}
30
+ :clojure-12 {}
29
31
:sci {:extra-deps {org.babashka/sci {:mvn/version " 0.9.44" }}}
30
32
:cherry {:extra-deps {io.github.squint-cljs/cherry {:git/sha " bccd994556efca378984c5ac7fd973bda164923b" }}}
31
33
:test-sci {:extra-paths [" test-sci" ]
You can’t perform that action at this time.
0 commit comments