[babashka/process#31] Add tests to bb CI
This commit is contained in:
parent
ec0275575a
commit
c725c3be0b
3 changed files with 12 additions and 2 deletions
3
deps.edn
3
deps.edn
|
|
@ -36,7 +36,8 @@
|
||||||
:jvm-opts ["-Djdk.attach.allowAttachSelf"]
|
:jvm-opts ["-Djdk.attach.allowAttachSelf"]
|
||||||
:main-opts ["-m" "babashka.profile"]}
|
:main-opts ["-m" "babashka.profile"]}
|
||||||
:lib-tests
|
:lib-tests
|
||||||
{:extra-deps {babashka/clj-http-lite
|
{:extra-paths ["process/src" "process/test"]
|
||||||
|
:extra-deps {babashka/clj-http-lite
|
||||||
{:git/url "https://github.com/babashka/clj-http-lite"
|
{:git/url "https://github.com/babashka/clj-http-lite"
|
||||||
:sha "f44ebe45446f0f44f2b73761d102af3da6d0a13e"}
|
:sha "f44ebe45446f0f44f2b73761d102af3da6d0a13e"}
|
||||||
borkdude/spartan.spec {:git/url "https://github.com/borkdude/spartan.spec"
|
borkdude/spartan.spec {:git/url "https://github.com/borkdude/spartan.spec"
|
||||||
|
|
|
||||||
2
process
2
process
|
|
@ -1 +1 @@
|
||||||
Subproject commit 249ddcfd1a5825f33adacc9cfde72a0c3823bdc9
|
Subproject commit f8e3dfb3d854a8c0a0309f8d76def5c01132ac95
|
||||||
|
|
@ -160,6 +160,15 @@
|
||||||
|
|
||||||
(test-namespaces 'httpkit.client-test)
|
(test-namespaces 'httpkit.client-test)
|
||||||
|
|
||||||
|
;;;; babashka.process
|
||||||
|
|
||||||
|
;; test built-in babashka.process
|
||||||
|
(test-namespaces 'babashka.process-test)
|
||||||
|
|
||||||
|
;; test babashka.process from source
|
||||||
|
(require '[babashka.process] :reload)
|
||||||
|
(test-namespaces 'babashka.process-test)
|
||||||
|
|
||||||
;;;; final exit code
|
;;;; final exit code
|
||||||
|
|
||||||
(let [{:keys [:test :fail :error] :as m} @status]
|
(let [{:keys [:test :fail :error] :as m} @status]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue