-
Notifications
You must be signed in to change notification settings - Fork 60
53 lines (44 loc) · 1006 Bytes
/
tests.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
name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test-clj:
runs-on: ubuntu-latest
container:
image: cimg/clojure:1.11.1-browsers
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Check cache
uses: actions/cache/restore@v4
id: cache
with:
path: |
~/.m2/repository
~/.lein
key: clj-deps-${{ hashFiles('project.clj') }}
- run: lein deps
- run: lein eastwood
- run: lein cljfmt check
- run: lein test
- name: Save cache
uses: actions/cache/save@v4
with:
path: |
~/.m2/repository
~/.lein
key: clj-deps-${{ hashFiles('project.clj') }}
test-cljs:
runs-on: ubuntu-latest
container:
image: cimg/clojure:1.11.1-browsers
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: sudo npm install -g --unsafe-perm lumo-cljs
- run: ./lumo-test