-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.yml
30 lines (30 loc) · 789 Bytes
/
config.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
version: 2.1
orbs:
clojure-leiningen:
executors:
leiningen:
docker:
- image: circleci/clojure:lein-2.8.1
environment:
LEIN_ROOT: "true"
JVM_OPTS: -Xmx3200m
working_directory: ~/repo
jobs:
lein-test:
executor: leiningen
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "project.clj" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: lein test
- save_cache:
paths:
- ~/.m2
key: v1-dependencies-{{ checksum "project.clj" }}
workflows:
test:
jobs:
- clojure-leiningen/lein-test