-
Notifications
You must be signed in to change notification settings - Fork 4
54 lines (45 loc) · 1.05 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: test
on: [ push ]
jobs:
test:
strategy:
matrix:
os:
- Ubuntu-18.04
- Ubuntu-20.04
openjdk:
- 8
- 11
clojure:
- 1.8
- 1.9
- 1.10
- 1.11
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Openjdk
uses: actions/setup-java@v3
with:
distribution: corretto
java-version: ${{ matrix.openjdk }}
- name: Show java version
run: |
java -Xmx32m -version
- name: Show javac version
run: |
javac -J-Xmx32m -version
- name: Install leiningen
uses: DeLaGuardo/[email protected]
with:
lein: 2.9.1
- name: Show leiningen version
run: |
lein version
- name: Run test
run: |
lein with-profile dev,${{ matrix.clojure }} test
- name: Run cljs test
run: |
lein with-profile dev,${{ matrix.clojure }} cljsbuild test