Skip to content

Add missing README tests for test-doc-blocks #124

Add missing README tests for test-doc-blocks

Add missing README tests for test-doc-blocks #124

Workflow file for this run

---
name: Run tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
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 }}
- name: Setup Clojure
uses: DeLaGuardo/[email protected]
with:
cli: 1.10.1.693
- name: Run unit tests
run: CLOJURE=clojure-${{ matrix.clojure }} bin/kaocha unit
- name: Generate docs tests
run: clojure -X:gen-doc-tests
- name: Run docs tests
run: CLOJURE=clojure-${{ matrix.clojure }} bin/kaocha generated
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
- name: Setup Clojure
uses: DeLaGuardo/[email protected]
with:
cli: 1.10.1.693
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Run tests
run: bin/node
bb:
name: Babashka
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Clojure
uses: DeLaGuardo/[email protected]
with:
bb: 1.3.190
- name: Run tests
run: bin/bb