Skip to content

Commit

Permalink
Fix #86: bb test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Aug 17, 2023
1 parent a9fd7c0 commit 44b3215
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
- name: Run tests
run: lein test-all

- name: Run bb tests
run: |
# TODO: replace the below with regular installation method via setup-clojure once a new release of bb is out
curl -sLO https://output.circle-artifacts.com/output/job/d839d8e8-42ac-463e-9e36-4943451710fc/artifacts/0/release/babashka-1.3.183-SNAPSHOT-linux-amd64-static.tar.gz
tar xzvf babashka-1.3.183-SNAPSHOT-linux-amd64-static.tar.gz
./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 (#68)

## 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 44b3215

Please sign in to comment.