Skip to content

Feature: reporting fn to allow more ergonomic use as a library #217

Feature: reporting fn to allow more ergonomic use as a library

Feature: reporting fn to allow more ergonomic use as a library #217

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Prepare java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
with:
cli: latest
lein: 2.9.10
bb: latest
clj-kondo: 2023.05.18
cljfmt: 0.10.4
- name: Execute tests
working-directory: ./cljfmt
run: lein test
- name: Execute babashka tests
run: bb test
- name: Check formatting
run: bb fmt
- name: Lint sourcecode
run: bb lint
- name: Install cljfmt dependency
working-directory: ./cljfmt
run: lein install
- name: Install GraalVM
uses: graalvm/setup-graalvm@v1
with:
version: '22.3.2'
java-version: '17'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install native dev tools
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get -y install build-essential zlib1g-dev
- name: Build executable
working-directory: ./cljfmt
run: lein native-image
- name: Run smoke tests
run: bb smoke