Skip to content

Merge pull request #897 from armed/master #1523

Merge pull request #897 from armed/master

Merge pull request #897 from armed/master #1523

Workflow file for this run

---
name: Run tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-clj:
strategy:
matrix:
# Supported Java versions: LTS releases and latest
# TODO: Replace 19=>20 when available
jdk: [8, 11, 17, 19]
clojure: [10, 11]
name: Clojure ${{ matrix.clojure }} (Java ${{ matrix.jdk }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java ${{ matrix.jdk }}
uses: actions/[email protected]
with:
distribution: zulu
java-version: ${{ matrix.jdk }}
cache: maven
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@master
with:
cli: latest
- name: Run tests
run: CLOJURE_ALIAS=clojure-${{ matrix.clojure }} bin/kaocha
build-cljs:
name: ClojureScript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java 11
uses: actions/[email protected]
with:
distribution: zulu
java-version: 11
cache: maven
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@master
with:
cli: latest
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Run tests
run: bin/node
build-bb:
name: Babashka
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java 11
uses: actions/[email protected]
with:
distribution: zulu
java-version: 11
cache: maven
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@master
with:
cli: latest
# bb: latest
- name: Download bb master
run: bash <(curl -s https://raw.githubusercontent.com/babashka/babashka/master/install) --version 0.8.157-SNAPSHOT
- name: Run tests
run: bb test-bb