summaryrefslogtreecommitdiff
path: root/.github/workflows/tests.yml
blob: e153435ee8883c7b3a0db75cf5610650a1d123cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Tests
on:
  push:
    paths-ignore:
      - README.md
      - LICENSE.txt

jobs:
  test-runtimes:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      
      - name: Setup Java
        uses: actions/setup-java@v3
        with: 
          distribution: 'zulu'
          java-version: '24'

      - name: Setup Clojure
        uses: DeLaGuardo/setup-clojure@13.4
        with:
          cli: 'latest'
          clj-kondo: 'latest'
          bb: 'latest'

      - name: Test Babashka
        run: |
          bb test:bb
        
      - name: Test Clojure
        run: |
          bb test:clj

      - name: Test ClojureScript
        run: |
          bb test:cljs