-
-
Notifications
You must be signed in to change notification settings - Fork 58
51 lines (44 loc) · 1.02 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
name: Test
on:
push:
branches:
- master
pull_request:
schedule:
# monthly
- cron: "0 0 1 * *"
env:
#bump to clear caches
ACTION_CACHE_VERSION: 'v1'
jobs:
test-clj:
strategy:
matrix:
java: ['11', '17', '18', '19']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- uses: DeLaGuardo/setup-clojure@10.1
with:
cli: 1.11.1.1208
- run: clojure -J-Djdk.tracePinnedThreads=full -J--enable-preview -X:dev:test
test-cljs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '19'
- uses: actions/setup-node@v3
with:
node-version: '18.12.1'
- uses: DeLaGuardo/setup-clojure@10.1
with:
cli: 1.11.1.1208
- run: npm install
- run: npm test