Skip to content

Add test to demonstrate #68 #82

Add test to demonstrate #68

Add test to demonstrate #68 #82

Workflow file for this run

name: Test
on:
pull_request:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeLaGuardo/setup-clojure@master
with:
cli: latest
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/deps.edn') }}
restore-keys: ${{ runner.os }}-m2
- name: Install dependencies
run: clojure -P -M:test
- name: Compilation check
run: clojure -M:dev:check
- name: Clojure tests
run: clojure -M:test -e :live