Add bb tests to CI
This commit is contained in:
parent
8ba809a2cd
commit
f890fb4c58
4 changed files with 27 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -11,3 +11,5 @@ pom.xml.asc
|
||||||
.lein-failures
|
.lein-failures
|
||||||
.cljs_node_repl
|
.cljs_node_repl
|
||||||
out/
|
out/
|
||||||
|
.cpcache
|
||||||
|
.cache
|
||||||
|
|
|
||||||
|
|
@ -6,3 +6,5 @@ cache:
|
||||||
script:
|
script:
|
||||||
- lein test
|
- lein test
|
||||||
- lein doo node test-build once
|
- lein doo node test-build once
|
||||||
|
- bash <(curl https://raw.githubusercontent.com/babashka/babashka/master/install) --version 0.7.8 --dir .
|
||||||
|
- bb test:bb
|
||||||
|
|
|
||||||
|
|
@ -334,6 +334,10 @@ When using Specter in a project with [clj-kondo](https://github.com/clj-kondo/cl
|
||||||
com.rpl.specter/defrichnav clojure.core/defn}}
|
com.rpl.specter/defrichnav clojure.core/defn}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Babashka
|
||||||
|
|
||||||
|
This library is compatible with [babashka](https://babashka.org/) as of specter 1.1.4 and babashka 0.7.8.
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
||||||
Copyright 2015-2020 Red Planet Labs, Inc. Specter is licensed under Apache License v2.0.
|
Copyright 2015-2020 Red Planet Labs, Inc. Specter is licensed under Apache License v2.0.
|
||||||
|
|
|
||||||
19
bb.edn
Normal file
19
bb.edn
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{:paths ["src/clj"]
|
||||||
|
:tasks
|
||||||
|
{test:clj {:doc "Run clj tests with leiningen"
|
||||||
|
:task (shell "lein test")}
|
||||||
|
|
||||||
|
test:cljs {:doc "Run cljs tests with leiningen"
|
||||||
|
:task (shell "lein doo node test-build once")}
|
||||||
|
|
||||||
|
test:bb {:doc "Run bb tests"
|
||||||
|
:extra-paths ["test"]
|
||||||
|
:extra-deps {org.clojure/test.check {:mvn/version "0.9.0"}
|
||||||
|
io.github.cognitect-labs/test-runner
|
||||||
|
{:git/tag "v0.5.0" :git/sha "b3fd0d2"}
|
||||||
|
org.clojure/tools.namespace {:git/url "https://github.com/babashka/tools.namespace"
|
||||||
|
:git/sha "3625153ee66dfcec2ba600851b5b2cbdab8fae6c"}}
|
||||||
|
:requires ([cognitect.test-runner :as tr])
|
||||||
|
:task (apply tr/-main
|
||||||
|
"-d" "test"
|
||||||
|
*command-line-args*)}}}
|
||||||
Loading…
Reference in a new issue