refer clojure.test vars #194
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit tests | |
on: [push] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '11' | |
- uses: DeLaGuardo/setup-clojure@master | |
with: | |
cli: '1.10.1.727' | |
- name: Download bb master | |
run: bash <(curl -s https://raw.githubusercontent.com/babashka/babashka/master/install) --version 0.8.157-SNAPSHOT | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v1 | |
- name: Install npm deps | |
run: npm install | |
- name: Run tests | |
run: bin/kaocha | |
- name: Run bb tests | |
run: bb test-bb |