Skip to content

Commit

Permalink
Add Babashka test runner (fixes weavejester#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Aug 22, 2023
1 parent a9fd7c0 commit a0b90d3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
lein: 2.9.10
clj-kondo: 2023.05.18
cljfmt: 0.10.2
bb: latest

- name: Cache clojure dependencies
uses: actions/cache@v3
Expand All @@ -30,6 +31,9 @@ jobs:
- name: Run tests
run: lein test-all

- name: Run bb tests
run: bb test:bb

- name: Lint code
run: clj-kondo --lint src test

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* **BREAKING CHANGE:** removed old `expand` function
* Added `assert-key` to replace `pre-init-spec`
* Added `expand-key` and new `expand` function (#102)
* Added babashka test runner (#86)

## 0.8.1 (2023-05-26)

Expand Down
5 changes: 5 additions & 0 deletions bb.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{:deps {integrant/integrant {:local/root "."}}
:tasks {test:bb {:extra-paths ["test"]
:extra-deps {io.github.cognitect-labs/test-runner
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}
:task cognitect.test-runner/-main}}}

0 comments on commit a0b90d3

Please sign in to comment.