Skip to content

Commit e71de2c

Browse files
committed
Also run :leak tests in CI
1 parent f5a659a commit e71de2c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ jobs:
4444
- run: deps/ensure-deps-up-to-date
4545

4646
# run tests!
47-
- run: lein do clean, with-profile +leak-detection test
47+
- run: lein do clean, with-profile +leak-detection test :default+leak
4848
# The resource_class feature allows configuring CPU and RAM resources for each job. Different resource classes are available for different executors. https://circleci.com/docs/2.0/configuration-reference/#resourceclass
4949
resource_class: large

project.clj

+3
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@
7575
:benchmark :benchmark
7676
:stress :stress
7777
:leak :leak ; requires :leak-detection profile
78+
:default+leak #(not
79+
(some #{:benchmark :stress}
80+
(cons (:tag %) (keys %))))
7881
:all (constantly true)}
7982
:jvm-opts ^:replace ["-server"
8083
"-Xmx2g"

0 commit comments

Comments
 (0)