Skip to content

Commit 062205e

Browse files
committed
Add babashka test runner
1 parent 55f5ce7 commit 062205e

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

.github/workflows/meander.yml

+21
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,24 @@ jobs:
3838
- uses: actions/checkout@v1
3939
- name: Run cljs tests
4040
run: clojure -A:cljs:cljs-test
41+
42+
bb:
43+
44+
runs-on: ubuntu-latest
45+
46+
steps:
47+
- uses: actions/checkout@v1
48+
49+
- name: Prepare java
50+
uses: actions/setup-java@v3
51+
with:
52+
distribution: 'adopt'
53+
java-version: '11'
54+
55+
- name: Install clojure tools
56+
uses: DeLaGuardo/[email protected]
57+
with:
58+
bb: latest
59+
60+
- name: Run babashka tests
61+
run: bb test-bb

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Meander is a Clojure/ClojureScript library that empowers you to write transparen
44
The latest version of the library can be found at the following link.
55

66
[![Clojars Project](https://img.shields.io/clojars/v/meander/epsilon.svg)](https://clojars.org/meander/epsilon)
7+
<a href="https://babashka.org" rel="nofollow"><img src="https://github.com/babashka/babashka/raw/master/logo/badge.svg" alt="bb compatible" style="max-width: 100%;"></a>
78

89
## What can Meander do?
910

bb.edn

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{:paths ["src"]
2+
:tasks
3+
{test-bb
4+
{:doc "Run babashka tests"
5+
:extra-paths ["test"]
6+
:extra-deps {org.babashka/spec.alpha {:git/url "https://github.com/babashka/spec.alpha"
7+
:git/sha "1a841c4cc1d4f6dab7505a98ed2d532dd9d56b78"}
8+
org.clojure/test.check {:mvn/version "1.1.1"}
9+
org.clojure/tools.namespace {:git/url "https://github.com/babashka/tools.namespace"
10+
:git/sha "3625153ee66dfcec2ba600851b5b2cbdab8fae6c"}
11+
io.github.cognitect-labs/test-runner {:git/tag "v0.5.0" :git/sha "b3fd0d2"}}
12+
:requires ([cognitect.test-runner.api :as test-api])
13+
:task (test-api/test {})}}}

0 commit comments

Comments
 (0)