update how to use #7
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] | |
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/setup-clojure@4.0 | |
with: | |
cli: 1.11.1.1155 # Clojure CLI based on tools.deps | |
#- name: Run Clj Unit tests | |
# run: make test-clj | |
- name: Install Chrome | |
uses: browser-actions/setup-chrome@latest | |
- name: Generate library code | |
run: make generate-all | |
- name: Run clj tests | |
run: make test-clj | |
- name: Run cljs tests | |
run: make test-cljs |