Fix compile issues for library #6
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
# https://practical.li/clojure/continuous-integration/github-actions/ | |
name: Tests build | |
on: [push, pull_request] | |
jobs: | |
clojure: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Prepare java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.10.1.693 # Clojure CLI based on tools.deps | |
- name: Setup Babashka | |
uses: turtlequeue/[email protected] | |
with: | |
babashka-version: 1.3.189 | |
- name: Check bb runs | |
run: bb --version | |
- name: Run Clj Unit tests | |
run: bb test-clj | |
- name: Install Chrome | |
uses: browser-actions/setup-chrome@latest | |
- name: Run Cljs Unit tests | |
run: bb test-cljs | |